This commit is contained in:
Gerasimos (Makis) Maropoulos 2022-05-24 01:44:36 +03:00
parent eeb7c67bc1
commit e7f5efa058
No known key found for this signature in database
GPG Key ID: ACAB76DFB0DD3F3B
12 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package main

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package main

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package main

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package main

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package main

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package main

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package auth

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package auth
@ -169,7 +170,6 @@ func (c *Configuration) BindFile(filename string) error {
return yaml.Unmarshal(contents, c)
}
}
// ToYAML returns the "c" Configuration's contents as raw yaml byte slice.

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package auth

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package auth

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
package context

View File

@ -1,4 +1,5 @@
//go:build go1.18
// +build go1.18
/*
Until go version 2, we can't really apply the type alias feature on a generic type or function,