0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 03:19:36 +03:00

Style: format code by gofumpt (#761)

This commit is contained in:
yuhan6665
2021-10-19 12:57:14 -04:00
committed by GitHub
parent d77be80b40
commit e286cdcaa8
111 changed files with 293 additions and 291 deletions

View File

@ -133,13 +133,11 @@ func Inverse(b []byte) []byte {
return b2
}
var (
authPool = sync.Pool{
New: func() interface{} {
return new(Authentication)
},
}
)
var authPool = sync.Pool{
New: func() interface{} {
return new(Authentication)
},
}
func getAuthenticationObject() *Authentication {
return authPool.Get().(*Authentication)