scope form encoding

This commit is contained in:
Livio Amstutz 2020-09-29 08:13:51 +02:00
parent 1661b40fbe
commit 507a437c56
3 changed files with 16 additions and 7 deletions

View file

@ -60,8 +60,8 @@ type ResponseType string
type Scopes []string
func (s *Scopes) Encode() string {
return strings.Join(*s, " ")
func (s Scopes) Encode() string {
return strings.Join(s, " ")
}
func (s *Scopes) UnmarshalText(text []byte) error {