mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-14 11:44:42 +00:00
20 lines
340 B
Go
Executable File
20 lines
340 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)
|
|
|
|
}
|