~ogham/doom

348caca2d8204f54229871a47d172fd9b8fff147 — Benjamin Sago 1 year, 3 months ago 4a8fc05
formerly chuck's
2 files changed, 2 insertions(+), 3 deletions(-)

M go.mod
M mconsul/globals.go
M go.mod => go.mod +1 -1
@@ 1,5 1,5 @@
module git.sr.ht/~ogham/doom

go 1.19
go 1.20

require github.com/go-chi/chi/v5 v5.0.8

M mconsul/globals.go => mconsul/globals.go +1 -2
@@ 6,6 6,5 @@ package mconsul
var GlobalAddress string

// GlobalRandomSelection holds whether to return a random address of a service,
// rather than the nearest one to the Consul agent. Make sure to seed the random
// number generator before setting this.
// rather than the nearest one to the Consul agent.
var GlobalRandomSelection bool