Open pjebs opened 9 years ago
For a newbie golang programmer, the documentation should be changed.
session, err := tb.NewSession("", true) //no location, peer enabled //create a token token, err := session.Token("publisher", "", 86400) //type publisher, no connection data
(token -> Token)
Also, "no new variables in left hand side of :="
"err" is declared twice
Feel free to submit a pull request if you know how to update this. I wrote this a while ago and have not looked at it since.
For a newbie golang programmer, the documentation should be changed.
(token -> Token)