mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-15 12:14:43 +00:00
19 lines
280 B
Go
Executable File
19 lines
280 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)
|
|
|
|
}
|