GitXplorerGitXplorer
E

go-vimeworld

public
2 stars
1 forks
2 issues

Commits

List of commits on branch master.
Unverified
06bc8d262436bbccaf5f8e58ec202224c0895ce8

feat: add README.md

EEpicStep committed 3 years ago
Unverified
86417e03942c94fbb7634fcdf987f281ada51290

ci: fix token test

EEpicStep committed 3 years ago
Unverified
fffec1038971bde6376e40e13c2a85826cde7d22

ci: add token

EEpicStep committed 3 years ago
Unverified
a3456c8d9ce05715e94c68ae6b04ebcb0257f3b3

feat: rename package

EEpicStep committed 3 years ago
Unverified
866c453689a1bdc96fb1623c4932484b3e0191d0

chore: fix linter

EEpicStep committed 3 years ago
Unverified
e560e77e432a06968e915e0ff4a9db16cf0aa685

ci: init

EEpicStep committed 3 years ago

README

The README file for this repository.

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