go-vimeworld

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2022 License: MIT

README

go-vimeworld is a client for VimeWorld written in go.

Go Reference tests x codecov Go Report Card


Installation

go get github.com/EpicStep/go-vimeworld

Example

package main

import (
	"context"
	"fmt"

	"github.com/EpicStep/go-vimeworld/vimeworld"
)

func main() {
	c, err := vimeworld.NewClient(vimeworld.Options{})
	if err != nil {
		panic(err)
	}

	user, err := c.GetUsersByNames(context.Background(), "EpicStep")
	if err != nil {
		panic(err)
	}

	if len(user) == 0 {
		panic("user not found")
	}

	fmt.Println(user[0])
}

License

MIT

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL