diff --git a/go.mod b/go.mod index fbbb941..e1d7a96 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/cardano-community/koios-cli/v2 +module github.com/cardano-community/koios-cli go 1.22 diff --git a/go.sum b/go.sum deleted file mode 100644 index b4c5e2e..0000000 --- a/go.sum +++ /dev/null @@ -1,36 +0,0 @@ -github.com/cardano-community/koios-go-client/v4 v4.0.0 h1:hSIkyej49jBgu5mh7EgV3+USFYF/CP2oeoBN3+RowXg= -github.com/cardano-community/koios-go-client/v4 v4.0.0/go.mod h1:8idJ713OMKR1eseV0beKa6DuifrF2cHvpet1KOnsI1Q= -github.com/happy-sdk/happy v0.24.0 h1:zFoScjhJyxFtvKGd0JB6D4Q2g3QTHM5iScr8dA2CyW8= -github.com/happy-sdk/happy v0.24.0/go.mod h1:84kGSaM9COejEOwj62LUKc8afm5rH4hha8MKxGtB4jY= -github.com/happy-sdk/happy/pkg/branding v0.1.0 h1:qdsxMe2D1oouzo7Jsx054V/A1HTq1RmsvEQuzFtA0L8= -github.com/happy-sdk/happy/pkg/branding v0.1.0/go.mod h1:2LFkUQwOgwe9jKLQVfLqYaPbCJgTHqbfbjznq6IzbNs= -github.com/happy-sdk/happy/pkg/cli/ansicolor v0.2.0 h1:jAP1rK2y+eeFgAQIJVqfY8AWS4IHw+4KW0HhDM3cRT8= -github.com/happy-sdk/happy/pkg/cli/ansicolor v0.2.0/go.mod h1:31cuN6nBnI7cWiNoJG951P6aZvDje0NACQHWbsszuhI= -github.com/happy-sdk/happy/pkg/devel/testutils v0.7.0 h1:Tyym7OiArjuKnKRIAITioGjuobvhFUMsIGg0bZ58CUs= -github.com/happy-sdk/happy/pkg/devel/testutils v0.7.0/go.mod h1:K/VIXChL6yiZTWsYrrl3lauYUAQL1cMaIJK5aPvG/xs= -github.com/happy-sdk/happy/pkg/options v0.0.0-20240524194728-716f7cf590d5 h1:Q/8S+o3wRz2Y5cB23xvAC3SR8VR/EkHu3a34TnX+GL8= -github.com/happy-sdk/happy/pkg/options v0.0.0-20240524194728-716f7cf590d5/go.mod h1:1D6dt3tg5kN0w7Pn7+Jx8xEJKyKKgRd2MYEytkSwloI= -github.com/happy-sdk/happy/pkg/scheduling/cron v0.4.1 h1:d8W6QGH+G6o9UjNXevjo/Iu9vMCP7IG5ppd29AfqrGk= -github.com/happy-sdk/happy/pkg/scheduling/cron v0.4.1/go.mod h1:9k/p1Zh3YwW8/pcEffP06p/imhqlbRCcdwXCMKkDoFY= -github.com/happy-sdk/happy/pkg/settings v0.2.0 h1:TWsFGEJi27kYK8vpxi6EjPYfQ+TpWm+5m3umOIYkEf8= -github.com/happy-sdk/happy/pkg/settings v0.2.0/go.mod h1:pEGgAuM0xgmHO4nO3GyfZhq41y1LCEI5MuLJdVVGw4E= -github.com/happy-sdk/happy/pkg/strings/bexp v1.4.0 h1:J03LsUsON3MKpzABBk38Oiaz4tC8gmqwMQ9vqPw5RNs= -github.com/happy-sdk/happy/pkg/strings/bexp v1.4.0/go.mod h1:Rh/N0HD/+4opgD1Sby7pXb+zHoWbGgJVQ2frGxUVYY0= -github.com/happy-sdk/happy/pkg/strings/humanize v0.2.0 h1:JnuVetOXNojQPdy8cAeHGQEcl+nGkeXSS1ATDvyy3WA= -github.com/happy-sdk/happy/pkg/strings/humanize v0.2.0/go.mod h1:Dp6qnkbB06h37NYewyH0wzLJYFGFzel//NIUuVuddyQ= -github.com/happy-sdk/happy/pkg/strings/textfmt v0.3.1 h1:QmJhnPWNLYKiWM894YPSB0tMzCZl5HofY/FNp1O7ugg= -github.com/happy-sdk/happy/pkg/strings/textfmt v0.3.1/go.mod h1:kaz61MKCgaIj1NtWrA9wm5RlvnztCY3x2BAfGGUg82o= -github.com/happy-sdk/happy/pkg/vars v0.10.0 h1:YXg+dXmOB+MGvVAMt8gz/xvzgr5WxGazIEWa2Ryu6ig= -github.com/happy-sdk/happy/pkg/vars v0.10.0/go.mod h1:sDPlycMrTvyLHcUzFc+jx57JEmORoic0gfO1wRWRY0o= -github.com/happy-sdk/happy/pkg/version v0.1.2 h1:8DJ0afkEVW2fdm1uEScTS4wPgGe0Tmls3QPuX7jrbhY= -github.com/happy-sdk/happy/pkg/version v0.1.2/go.mod h1:mFhI4DRvXZ8Ls8D5/aXIqcMnjCUBNtI3Ye9ilYL2Bz0= -github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= -github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -golang.org/x/mod v0.16.0 h1:QX4fJ0Rr5cPQCF7O9lh9Se4pmwfwskqZfq5moyldzic= -golang.org/x/mod v0.16.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= -golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= diff --git a/internal/api/api.go b/internal/api/api.go index ce79860..7c96220 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -13,13 +13,13 @@ import ( "sync" "time" - "github.com/cardano-community/koios-cli/v2/internal/auth" + "github.com/cardano-community/koios-cli/internal/auth" "github.com/cardano-community/koios-go-client/v4" "github.com/happy-sdk/happy" "github.com/happy-sdk/happy/pkg/vars/varflag" ) -const defaultOrigin = "https://github.com/cardano-community/koios-cli/v2" +const defaultOrigin = "https://github.com/cardano-community/koios-cli" var ( pagingFlags = []varflag.FlagCreateFunc{