diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/discovery/discovery_embed.go | 2 | ||||
| -rw-r--r-- | internal/discovery/discovery_noembed.go | 2 | ||||
| -rw-r--r-- | internal/http/http.go | 1 | ||||
| -rw-r--r-- | internal/oauth/token.go | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/internal/discovery/discovery_embed.go b/internal/discovery/discovery_embed.go index 8d6433b..90c731b 100644 --- a/internal/discovery/discovery_embed.go +++ b/internal/discovery/discovery_embed.go @@ -1,4 +1,4 @@ -// +build release +//go:build release package discovery diff --git a/internal/discovery/discovery_noembed.go b/internal/discovery/discovery_noembed.go index dd5ecd0..0c8e8e8 100644 --- a/internal/discovery/discovery_noembed.go +++ b/internal/discovery/discovery_noembed.go @@ -1,4 +1,4 @@ -// +build !release +//go:build !release package discovery diff --git a/internal/http/http.go b/internal/http/http.go index 766a2db..c31ed5e 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -249,5 +249,4 @@ func (e *StatusError) Error() string { // RegisterAgent registers the user agent for client and version func RegisterAgent(client string, version string) { UserAgent = fmt.Sprintf("%s/%s %s", client, version, "eduvpn-common/1.0.0") - } diff --git a/internal/oauth/token.go b/internal/oauth/token.go index 1594f43..a9d2c82 100644 --- a/internal/oauth/token.go +++ b/internal/oauth/token.go @@ -5,8 +5,8 @@ import ( "sync" "time" - "github.com/go-errors/errors" "github.com/eduvpn/eduvpn-common/internal/log" + "github.com/go-errors/errors" ) // TokenResponse defines the OAuth response from the server that includes the tokens. |
