Categorygithub.com/softwareforscience/jiskefet-api-go
modulepackage
0.3.0
Repository: https://github.com/softwareforscience/jiskefet-api-go.git
Documentation: pkg.go.dev

# README

Jiskefet Go Client API

This is a Go client API for Jiskefet based on the go-swagger code generator (https://goswagger.io)

Setup

go get -u -v github.com/SoftwareForScience/jiskefet-api-go

Running the example code

If your api is at http://myhost.server.address/api

cd $GOPATH/src/github.com/SoftwareForScience/jiskefet-api-go
export JISKEFET_HOST=myhost.server.address
export JISKEFET_PATH=api
export JISKEFET_API_TOKEN=jnk5vh43785ycj4gdvlvm84fg...
go run main.go

Code generation

To (re)generate the client code:

go get -u -v github.com/go-swagger/go-swagger/cmd/swagger
cd $GOPATH/src/github.com/SoftwareForScience/jiskefet-api-go
~/go/bin/swagger generate client --spec=jiskefet-openapi-spec/openapi-spec.yaml

# Packages

No description provided by the author