remove pointer from Write() methods

This commit is contained in:
aler9
2020-12-16 11:08:55 +01:00
parent acaae972c5
commit 775c512465
6 changed files with 21 additions and 21 deletions

View File

@@ -168,7 +168,7 @@ func ReadAuth(v base.HeaderValue) (*Auth, error) {
}
// Write encodes an Authenticate or a WWW-Authenticate header.
func (ha *Auth) Write() base.HeaderValue {
func (ha Auth) Write() base.HeaderValue {
ret := ""
switch ha.Method {