fix: satisfy staticcheck comment style for exported consts
This commit is contained in:
@@ -6,10 +6,13 @@ import (
|
||||
"github.com/ryanhamamura/games/player"
|
||||
)
|
||||
|
||||
// NATS subject helpers.
|
||||
// SubjectPrefix is the NATS subject namespace for connect4 games.
|
||||
const SubjectPrefix = "connect4"
|
||||
|
||||
// GameSubject returns the NATS subject for game state updates.
|
||||
func GameSubject(gameID string) string { return SubjectPrefix + "." + gameID }
|
||||
|
||||
// ChatSubject returns the NATS subject for chat messages.
|
||||
func ChatSubject(gameID string) string { return SubjectPrefix + ".chat." + gameID }
|
||||
|
||||
type Player struct {
|
||||
|
||||
Reference in New Issue
Block a user