mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-15 20:24:45 +00:00
19 lines
294 B
Go
Executable File
19 lines
294 B
Go
Executable File
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"go.m3o.com/space"
|
|
)
|
|
|
|
// Vote to have the Space api launched faster!
|
|
func main() {
|
|
spaceService := space.NewSpaceService(os.Getenv("M3O_API_TOKEN"))
|
|
rsp, err := spaceService.Vote(&space.VoteRequest{
|
|
Message: "Launch it!",
|
|
})
|
|
fmt.Println(rsp, err)
|
|
|
|
}
|