Skip to content

kleister/kleister-go

Repository files navigation

Kleister: SDK for Go

General Workflow Join the Matrix chat at https://matrix.to/#/#kleister:matrix.org Codacy Badge Go Reference

This repository provides a client SDK for Go. This SDK is automatically generated by the OAPI Codegen project.

Build

If you are not familiar with Nix it is up to you to have a working environment for Go (>= 1.24.0) as the setup won't we covered within this guide. Please follow the official install instructions for Go. Beside that we are using go-task to define all commands to build this project.

git clone https://github.com/kleister/kleister-go.git
cd kleister-go

task clean generate openapi build test

If you got Nix and Direnv configured you can simply execute the following commands to get al dependencies including go-task and the required runtimes installed:

cat << EOF > .envrc
use flake . --impure --extra-experimental-features nix-command
EOF

direnv allow

Examples

For different kind of examples how to use this library please take a look at the examples/ folder.

Security

If you find a security issue please contact [email protected] first.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

Apache-2.0

Copyright

Copyright (c) 2018 Thomas Boerger <[email protected]>