File tree Expand file tree Collapse file tree 10 files changed +21
-21
lines changed Expand file tree Collapse file tree 10 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 4
4
"flag"
5
5
"fmt"
6
6
7
- "github.com/treblle /treblle-go"
7
+ "github.com/Treblle /treblle-go/v2 "
8
8
)
9
9
10
10
func main () {
Original file line number Diff line number Diff line change 1
- module example
1
+ module github.com/Treblle/treblle-go/examples/gorilla_example
2
2
3
- go 1.23.2
4
-
5
- replace github.com/Treblle/treblle-go => /Users/pratimbhosale/Desktop/hobbyprojects/treblle-go
3
+ go 1.21
6
4
7
5
require (
8
- github.com/Treblle/treblle-go v0 .0.0-00010101000000-000000000000
6
+ github.com/Treblle/treblle-go/v2 v2 .0.0
9
7
github.com/gorilla/mux v1.8.1
10
8
)
11
9
12
10
require golang.org/x/sync v0.11.0 // indirect
11
+
12
+ replace github.com/Treblle/treblle-go/v2 => ../../
Original file line number Diff line number Diff line change 7
7
"log"
8
8
"net/http"
9
9
10
- treblle "github.com/Treblle/treblle-go" // Update this to your actual import path
10
+ treblle "github.com/Treblle/treblle-go/v2 " // Updated to v2 path
11
11
"github.com/gorilla/mux"
12
12
)
13
13
Original file line number Diff line number Diff line change 1
- module standard_example
1
+ module github.com/Treblle/treblle-go/examples/ standard_example
2
2
3
- go 1.23.2
3
+ go 1.21
4
4
5
- replace github.com/Treblle/treblle-go => /Users/pratimbhosale/Desktop/hobbyprojects/treblle-go
5
+ require github.com/Treblle/treblle-go/v2 v2.0.0
6
6
7
- require github.com/Treblle/treblle-go v0.0.0-00010101000000-000000000000
7
+ replace github.com/Treblle/treblle-go/v2 => ../../
8
8
9
9
require golang.org/x/sync v0.11.0 // indirect
Original file line number Diff line number Diff line change 6
6
"net/http"
7
7
"strings"
8
8
9
- treblle "github.com/Treblle/treblle-go" // Update this to your actual import path
9
+ treblle "github.com/Treblle/treblle-go/v2 " // Updated to v2 path
10
10
)
11
11
12
12
type User struct {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
"time"
13
13
14
14
"github.com/go-chi/chi"
15
- "github.com/treblle /treblle-go"
15
+ "github.com/Treblle /treblle-go/v2 "
16
16
)
17
17
18
18
// Create a test request and response for debugging
Original file line number Diff line number Diff line change 1
- module ngroktest
1
+ module github.com/Treblle/treblle-go/examples/treblle-go-sdk-example
2
2
3
- go 1.23.2
3
+ go 1.23.0
4
+
5
+ toolchain go1.23.2
4
6
5
7
require (
8
+ github.com/Treblle/treblle-go/v2 v2.0.0
6
9
github.com/gorilla/mux v1.8.1
7
10
github.com/joho/godotenv v1.5.1
8
- github.com/treblle/treblle-go v0.7.2
9
11
)
10
12
11
13
require golang.org/x/sync v0.12.0 // indirect
12
14
13
- replace github.com/treblle /treblle-go => github.com/timpratim/treblle-go v0.0.0-20250325145413-71c3af83a8c4
15
+ replace github.com/Treblle /treblle-go/v2 => ../../
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
10
10
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
11
11
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk =
12
12
github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
13
- github.com/timpratim/treblle-go v0.0.0-20250325145413-71c3af83a8c4 h1:TBn2cAFZihSgWHXcPv1q69DsEe//pNND6lAXVMdQw78 =
14
- github.com/timpratim/treblle-go v0.0.0-20250325145413-71c3af83a8c4 /go.mod h1:zIneSfxSc9ob2HEGrzx4fpjMff1WpEtniAkYaGrijCU =
15
13
golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw =
16
14
golang.org/x/sync v0.12.0 /go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA =
17
15
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
13
13
"github.com/gorilla/mux"
14
14
"github.com/joho/godotenv"
15
- treblle "github.com/treblle /treblle-go"
15
+ treblle "github.com/Treblle /treblle-go/v2 "
16
16
)
17
17
18
18
type User struct {
Original file line number Diff line number Diff line change 1
- module github.com/treblle /treblle-go
1
+ module github.com/Treblle /treblle-go/v2
2
2
3
3
go 1.21
4
4
You can’t perform that action at this time.
0 commit comments