If it can be with a pistol shrimp, it's called a 'shrimpgoby' or a 'watchman goby'. Just ask at a pet store if it's one of those.
Greenbanded gobies look like shrimpgobies, but won't pair up.
Clown gobies won't either.
If it hovers a lot and has a pointy nose, it won't pair.
Shrimp/watchman gobies (usually called shrimpgobies) mostly have squared-off noses and sit on the bottom. A lot of gobies will pair with pistol shrimp, really.
I assume you're planning to keep a goby/shrimp pair? I suggest a tiger pistol shrimp; easy to find, fairly cheap, large enough for most gobies, fairly nonaggressive, nice colors, and bold enough that you'll probably see it. Plus, most shrimpgobies will pair with them.
Just add the shrimp near some rocks and give it about thirty minutes to get a bit of tunneling going on, then pour the goby into a net and place it over near the tunnel. They may pair immediately, or not for a while.
If you have somewhere you'd especially like to see a tunnel entrance, use your fingers to make a tunnel that's as long as your shrimp. Don't go down into the sand, tunnel under a rock with the rock as a roof, that's how pistols do it.
Provide your pistol with a handful of pebbles and small shells, it's fun to see what they do with things like that. Plus, if you give them flat shells that are quarter-size or larger, they make archways around their burrow with them.