Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-11-26 12:57:45 +00:00
parent 1232a8904f
commit b581d55bab
19 changed files with 793 additions and 793 deletions

View File

@@ -4,34 +4,6 @@ An [m3o.com](https://m3o.com) API. For example usage see [m3o.com/App/api](https
Endpoints:
## Vote
Vote to have the App api launched faster!
[https://m3o.com/app/api#Vote](https://m3o.com/app/api#Vote)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Vote to have the App api launched faster!
func VoteForTheApi() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Vote(&app.VoteRequest{
Message: "Launch it!",
})
fmt.Println(rsp, err)
}
```
## Reserve
Reserve your app name
@@ -60,3 +32,31 @@ func ReserveAppName() {
}
```
## Vote
Vote to have the App api launched faster!
[https://m3o.com/app/api#Vote](https://m3o.com/app/api#Vote)
```go
package example
import(
"fmt"
"os"
"go.m3o.com/app"
)
// Vote to have the App api launched faster!
func VoteForTheApi() {
appService := app.NewAppService(os.Getenv("M3O_API_TOKEN"))
rsp, err := appService.Vote(&app.VoteRequest{
Message: "Launch it!",
})
fmt.Println(rsp, err)
}
```