Skip to content

Instantly share code, notes, and snippets.

@corrupt
Created January 2, 2017 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corrupt/cb83c1c5a2e0f0a424d0364da920fc70 to your computer and use it in GitHub Desktop.
Save corrupt/cb83c1c5a2e0f0a424d0364da920fc70 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"log"
"github.com/o3ma/o3"
)
func main() {
var tr o3.ThreemaRest
tid, err := tr.CreateIdentity()
if err != nil {
log.Fatal(err)
}
fmt.Printf("%#v\n", tid)
fmt.Println(tid.String())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment