Cribbage and scoring 31 plus go
The official cribbage rules make this incredibly clear:


  Rule 1.6 - Definitions
  ... 
  go: Called by a player who cannot play a card without exceeding the cumulative count of 31; the opponent scores one point, or two if reaching exactly 31.


In this, calling a 31 is just a special case of a go.