README.md 541 B

bullet

Go Report Card

Initialize client

b := bullet.NewBullet("YOUR_TOKEN")

Send note

err := b.SendNote("testTitle", "testText")
if err != nil {
    log.Fatal(err)
}

Send link

err := b.SendLink("testTitle", "testText", "https://abc.com")
if err != nil {
    log.Fatal(err)
}

Send file

err := b.SendFile("testFile", "Something", "./test.txt")
if err != nil {
    log.Fatal(err)
}