Skip to content

Commit

Permalink
Merge branch 'main' into DVX-318
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryamanz29 committed Jul 9, 2024
2 parents fd62c23 + 47edf23 commit 46022e1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.2'
go-version: '1.19'

- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.2
0.0.3
5 changes: 3 additions & 2 deletions atlan/assets/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package assets
import (
"bytes"
"encoding/json"
"github.com/stretchr/testify/assert"
"log/slog"
"net/http"
"net/http/httptest"
"os"
"testing"

"github.com/stretchr/testify/assert"
"golang.org/x/exp/slog"
)

func TestEnvConfig(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion atlan/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package logger

import (
"fmt"
"log/slog"
"os"

"golang.org/x/exp/slog"
)

// LoggerConfig defines the configuration for logging.
Expand Down
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
module github.com/atlanhq/atlan-go

go 1.21
go 1.19

require (
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213
github.com/matoous/go-nanoid v1.5.0
github.com/schollz/progressbar/v3 v3.14.4
github.com/stretchr/testify v1.9.0
// NOTE: We need to pin this experimental version of "slog" since it is compatible with Go 1.19
// This is required because atlan-heracles uses go-sdk, which currently supports Go 1.19
golang.org/x/exp v0.0.0-20240707233637-46b078467d37
)

require (
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw=
golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
golang.org/x/exp v0.0.0-20240707233637-46b078467d37 h1:uLDX+AfeFCct3a2C7uIWBKMJIR3CJMhcgfrUAqjRK6w=
golang.org/x/exp v0.0.0-20240707233637-46b078467d37/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
Expand Down

0 comments on commit 46022e1

Please sign in to comment.