From 343c5fa2c7fcaa184ba464b2e035dc8a6f05134d Mon Sep 17 00:00:00 2001 From: martinyonatann Date: Sun, 14 Sep 2025 02:42:48 +0700 Subject: [PATCH 1/2] update module name become snap --- access_token_params.go | 2 +- go.mod | 2 +- snap.go | 2 +- token_manager.go | 4 ++-- transporter.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/access_token_params.go b/access_token_params.go index 7de7010..76b72d0 100644 --- a/access_token_params.go +++ b/access_token_params.go @@ -4,7 +4,7 @@ import ( "strconv" "time" - "github.com/DoWithLogic/snap/v1/types" + "github.com/DoWithLogic/snap/types" ) type ( diff --git a/go.mod b/go.mod index 1e4a1cd..568e155 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/DoWithLogic/snap/v1 +module github.com/DoWithLogic/snap go 1.23.2 diff --git a/snap.go b/snap.go index 5772f09..ca9939e 100644 --- a/snap.go +++ b/snap.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/DoWithLogic/snap/v1/helpers" + "github.com/DoWithLogic/snap/helpers" ) type Client struct { diff --git a/token_manager.go b/token_manager.go index 5c54e0f..8eba728 100644 --- a/token_manager.go +++ b/token_manager.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/DoWithLogic/snap/v1/helpers" - "github.com/DoWithLogic/snap/v1/types" + "github.com/DoWithLogic/snap/helpers" + "github.com/DoWithLogic/snap/types" ) // TokenType represents the type of SNAP BI token. diff --git a/transporter.go b/transporter.go index ca757af..6b3e002 100644 --- a/transporter.go +++ b/transporter.go @@ -10,7 +10,7 @@ import ( "reflect" "time" - "github.com/DoWithLogic/snap/v1/types" + "github.com/DoWithLogic/snap/types" ) const ( From 409bb33091e4da106d931478329b7a2e6f07d444 Mon Sep 17 00:00:00 2001 From: martinyonatann Date: Sun, 14 Sep 2025 02:51:33 +0700 Subject: [PATCH 2/2] make sure the library can be access from public --- access_token_params.go | 2 +- go.mod | 2 +- snap.go | 2 +- token_manager.go | 4 ++-- transporter.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/access_token_params.go b/access_token_params.go index 76b72d0..f4cd0df 100644 --- a/access_token_params.go +++ b/access_token_params.go @@ -4,7 +4,7 @@ import ( "strconv" "time" - "github.com/DoWithLogic/snap/types" + "github.com/DoWithLogic/go-snap-bi/types" ) type ( diff --git a/go.mod b/go.mod index 568e155..54a7dd1 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/DoWithLogic/snap +module github.com/DoWithLogic/go-snap-bi go 1.23.2 diff --git a/snap.go b/snap.go index ca9939e..596e8cd 100644 --- a/snap.go +++ b/snap.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/DoWithLogic/snap/helpers" + "github.com/DoWithLogic/go-snap-bi/helpers" ) type Client struct { diff --git a/token_manager.go b/token_manager.go index 8eba728..4101230 100644 --- a/token_manager.go +++ b/token_manager.go @@ -8,8 +8,8 @@ import ( "sync" "time" - "github.com/DoWithLogic/snap/helpers" - "github.com/DoWithLogic/snap/types" + "github.com/DoWithLogic/go-snap-bi/helpers" + "github.com/DoWithLogic/go-snap-bi/types" ) // TokenType represents the type of SNAP BI token. diff --git a/transporter.go b/transporter.go index 6b3e002..b660ce6 100644 --- a/transporter.go +++ b/transporter.go @@ -10,7 +10,7 @@ import ( "reflect" "time" - "github.com/DoWithLogic/snap/types" + "github.com/DoWithLogic/go-snap-bi/types" ) const (