package serverinfo import "fmt" const ( statsPathFormat = "%s/stats?key=%v" ) func StatsURL(serverUrl string, StatsKey string) string { return fmt.Sprintf(statsPathFormat, serverUrl, StatsKey) }