Skip to content

Commit

Permalink
feat: run
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed May 11, 2024
1 parent 618539b commit 21b78dc
Show file tree
Hide file tree
Showing 30 changed files with 247 additions and 247 deletions.
4 changes: 2 additions & 2 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 1.0.0
speakeasyVersion: 1.286.0
generationVersion: 2.326.3
releaseVersion: 0.1.6
configChecksum: 53ee7feb83f83f284a66d7f183f775a7
releaseVersion: 0.1.7
configChecksum: 4a72b63bb002af1bd70f729c9f85815d
repoURL: https://github.com/unkeyed/unkey-go.git
installationURL: https://github.com/unkeyed/unkey-go
features:
Expand Down
4 changes: 2 additions & 2 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
go:
version: 0.1.6
version: 0.1.7
additionalDependencies: {}
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
Expand All @@ -28,5 +28,5 @@ go:
maxMethodParams: 0
methodArguments: require-security-and-request
outputModelSuffix: output
packageName: github.com/unkeyed/unkey-go
packageName: github.com/unkeyed/unkey
responseFormat: flat
54 changes: 27 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down Expand Up @@ -109,16 +109,16 @@ package main
import (
"context"
"errors"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey-go/models/sdkerrors"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"github.com/unkeyed/unkey/models/sdkerrors"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down Expand Up @@ -200,16 +200,16 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithServerIndex(0),
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithServerIndex(0),
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down Expand Up @@ -237,16 +237,16 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithServerURL("https://api.unkey.dev"),
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithServerURL("https://api.unkey.dev"),
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down Expand Up @@ -312,14 +312,14 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down
10 changes: 5 additions & 5 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ package main

import (
"context"
unkeygo "github.com/unkeyed/unkey-go"
"github.com/unkeyed/unkey-go/models/components"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey"
"github.com/unkeyed/unkey/models/components"
"github.com/unkeyed/unkey/models/operations"
"log"
)

func main() {
s := unkeygo.New(
unkeygo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
s := unkey.New(
unkey.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
)

request := operations.CreateAPIRequestBody{
Expand Down
10 changes: 5 additions & 5 deletions apis.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

package unkeygo
package unkey

import (
"bytes"
"context"
"fmt"
"github.com/unkeyed/unkey-go/internal/hooks"
"github.com/unkeyed/unkey-go/internal/utils"
"github.com/unkeyed/unkey-go/models/operations"
"github.com/unkeyed/unkey-go/models/sdkerrors"
"github.com/unkeyed/unkey/internal/hooks"
"github.com/unkeyed/unkey/internal/utils"
"github.com/unkeyed/unkey/models/operations"
"github.com/unkeyed/unkey/models/sdkerrors"
"io"
"net/http"
"net/url"
Expand Down
Loading

0 comments on commit 21b78dc

Please sign in to comment.