Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Pepijn98/program-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card

program-go

Small and simple program-o wrapper in Golang

Install

go get github.com/KurozeroPB/program-go

Usage

Small example:

package main

import (
  "fmt"

  "github.com/KurozeroPB/program-go"
)

func main() {
  resp, err := pgo.Say(6, "Testing 123 hello", "test_id_123456")
  if err != nil {
    fmt.Printf("Error: %s\n", err)
    return
  }
  fmt.Printf("Response: %s\n", resp.BotSay)
}

Docs

Say(botID, query, convoID)

Parameter Type Description
botID int The program-o bot id you want to use
query string The query you want to send
convoID string The conversation id to recognize you

Releases

No releases published

Packages

No packages published

Languages