Files
m3o-go/examples/app/vote/voteForTheApi/main.go
2021-12-09 15:06:12 +00:00

18 lines
279 B
Go
Executable File

package main
import (
"fmt"
"os"
"go.m3o.com/app"
)
// Vote to have the App api launched faster!
func main() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Vote(&app.VoteRequest{
Message: "Launch it!",
})
fmt.Println(rsp, err)
}