Skip to content

Commit

Permalink
remove unneccessary output
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoh86 committed Nov 13, 2023
1 parent 9bb7d8d commit 5467b3b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions token.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package gogh

import "fmt"

type Token string

type TokenTarget struct {
Expand Down Expand Up @@ -54,9 +52,7 @@ func (t TokenTarget) MarshalText() ([]byte, error) {
}

func (t *TokenTarget) UnmarshalText(text []byte) error {
fmt.Println(string(text))
t.Host, t.Owner = splitHostOwner(string(text))
fmt.Println(t)
return nil
}

Expand Down Expand Up @@ -117,7 +113,6 @@ func (t *TokenManager) UnmarshalYAML(unmarshaler func(interface{}) error) error
if err := target.UnmarshalText([]byte(k)); err != nil {
return err
}
fmt.Println(target)
(*t)[target] = Token(v)
}
return nil
Expand Down

0 comments on commit 5467b3b

Please sign in to comment.