Skip to content
This repository has been archived by the owner on Jul 21, 2018. It is now read-only.

Commit

Permalink
Strip newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
42wim committed Jun 25, 2018
1 parent febb5e3 commit f235f5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func init() {
os.Exit(1)
}
token = string(res)
token = strings.TrimSpace(token)
}

func spost(path string, form url.Values) []byte {
Expand Down

0 comments on commit f235f5d

Please sign in to comment.