mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 12:32:21 +00:00
ch4-5-fix typos
This commit is contained in:
parent
a2876ea292
commit
e3cf9d1e3a
@ -211,7 +211,7 @@ type Authentication struct {
|
||||
}
|
||||
|
||||
func (a *Authentication) GetRequestMetadata(context.Context, ...string) (map[string]string, error) {
|
||||
return map[string]string{"login": a.Login, "password": a.Password}, nil
|
||||
return map[string]string{"user":a.User, "password": a.Password}, nil
|
||||
}
|
||||
func (a *Authentication) RequireTransportSecurity() bool {
|
||||
return false
|
||||
|
Loading…
x
Reference in New Issue
Block a user