mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-12 02:45:11 +00:00
19 lines
339 B
Go
Executable File
19 lines
339 B
Go
Executable File
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"go.m3o.com/nft"
|
|
)
|
|
|
|
// Create your own NFT (coming soon)
|
|
func main() {
|
|
nftService := nft.NewNftService(os.Getenv("M3O_API_TOKEN"))
|
|
rsp, err := nftService.Create(&nft.CreateRequest{
|
|
Description: "The epic monkey island character",
|
|
Name: "Guybrush Threepwood",
|
|
})
|
|
fmt.Println(rsp, err)
|
|
}
|