From 7e673e37409f0feaff67939a380a031667bd0248 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sat, 15 Oct 2022 11:23:10 +0200 Subject: [PATCH] fix(go-client): go-client README --- go-client/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 go-client/README.md diff --git a/go-client/README.md b/go-client/README.md new file mode 100644 index 0000000000..128c4d11c2 --- /dev/null +++ b/go-client/README.md @@ -0,0 +1,25 @@ +# windmill-go-client + +Go client for the windmill platform. + +## Import + +Import user-friendly client: + +```go +import wmill "github.com/windmill-labs/windmill-go-client" + +``` + +Import full api from the autogenerated openapi client: + +```go +import api "github.com/windmill-labs/windmill-go-client/api" +``` + +## Usage + +```go +a, _ := wmill.GetResource("u/ruben-user/test") +a, _ := wmill.GetVariable("u/ruben-user/test") +```