scope form encoding
This commit is contained in:
parent
1661b40fbe
commit
507a437c56
3 changed files with 16 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue