diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3093957..e67ef81 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,4 +26,4 @@ tests-config-pkg: tests-docbuf-pkg: stage: test script: - - go test ./internal/docbuf + - go test ./pkg/docbuf diff --git a/internal/state/state.go b/internal/state/state.go index 1325546..9795fbd 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -15,7 +15,7 @@ import ( "errors" "encoding/json" - "gitlab.com/whom/bingobot/internal/docbuf" + "gitlab.com/whom/bingobot/pkg/docbuf" "gitlab.com/whom/bingobot/internal/logging" ) diff --git a/internal/state/state_test.go b/internal/state/state_test.go index e6d4073..20800f3 100644 --- a/internal/state/state_test.go +++ b/internal/state/state_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "gitlab.com/whom/bingobot/internal/docbuf" + "gitlab.com/whom/bingobot/pkg/docbuf" "gitlab.com/whom/bingobot/internal/logging" ) diff --git a/internal/docbuf/docbuf.go b/pkg/docbuf/docbuf.go similarity index 100% rename from internal/docbuf/docbuf.go rename to pkg/docbuf/docbuf.go diff --git a/internal/docbuf/docbuf_test.go b/pkg/docbuf/docbuf_test.go similarity index 100% rename from internal/docbuf/docbuf_test.go rename to pkg/docbuf/docbuf_test.go diff --git a/internal/docbuf/read_write_seek_string.go b/pkg/docbuf/read_write_seek_string.go similarity index 100% rename from internal/docbuf/read_write_seek_string.go rename to pkg/docbuf/read_write_seek_string.go diff --git a/internal/docbuf/read_write_seek_string_test.go b/pkg/docbuf/read_write_seek_string_test.go similarity index 100% rename from internal/docbuf/read_write_seek_string_test.go rename to pkg/docbuf/read_write_seek_string_test.go