diff --git a/cmd/kma/handler.go b/cmd/kma/handler.go index 6f6b012..049d5d6 100644 --- a/cmd/kma/handler.go +++ b/cmd/kma/handler.go @@ -8,9 +8,9 @@ import ( "strconv" "time" - "github.com/neatflowcv/seven-skies/internal/pkg/broker" - "github.com/neatflowcv/seven-skies/internal/pkg/domain" - "github.com/neatflowcv/seven-skies/internal/pkg/kma" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/broker" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/kma" ) type Handler struct { diff --git a/cmd/kma/main.go b/cmd/kma/main.go index 66ca307..219019c 100644 --- a/cmd/kma/main.go +++ b/cmd/kma/main.go @@ -8,9 +8,9 @@ import ( "runtime/debug" "strconv" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/broker/nats" "github.com/go-co-op/gocron/v2" "github.com/joho/godotenv" - "github.com/neatflowcv/seven-skies/internal/pkg/broker/nats" ) func version() string { diff --git a/cmd/openweather/handler.go b/cmd/openweather/handler.go index 74c115a..277fda2 100644 --- a/cmd/openweather/handler.go +++ b/cmd/openweather/handler.go @@ -7,9 +7,9 @@ import ( "log" "time" - "github.com/neatflowcv/seven-skies/internal/pkg/broker" - "github.com/neatflowcv/seven-skies/internal/pkg/domain" - "github.com/neatflowcv/seven-skies/internal/pkg/openweather" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/broker" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/openweather" ) type Handler struct { diff --git a/cmd/openweather/main.go b/cmd/openweather/main.go index 0109366..2005c40 100644 --- a/cmd/openweather/main.go +++ b/cmd/openweather/main.go @@ -7,9 +7,9 @@ import ( "runtime/debug" "strconv" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/broker/nats" "github.com/go-co-op/gocron/v2" "github.com/joho/godotenv" - "github.com/neatflowcv/seven-skies/internal/pkg/broker/nats" ) func version() string { diff --git a/cmd/seven-skies/handler.go b/cmd/seven-skies/handler.go index b5caa1c..5663fbf 100644 --- a/cmd/seven-skies/handler.go +++ b/cmd/seven-skies/handler.go @@ -6,8 +6,8 @@ import ( "net/http" "time" - "github.com/neatflowcv/seven-skies/api" - "github.com/neatflowcv/seven-skies/internal/app/flow" + "gitea.neatflow.kr/biosvos/seven-skies/api" + "gitea.neatflow.kr/biosvos/seven-skies/internal/app/flow" ) var _ api.StrictServerInterface = (*Handler)(nil) diff --git a/cmd/seven-skies/main.go b/cmd/seven-skies/main.go index fa740cc..e5bb467 100644 --- a/cmd/seven-skies/main.go +++ b/cmd/seven-skies/main.go @@ -10,13 +10,13 @@ import ( "runtime/debug" "time" + "gitea.neatflow.kr/biosvos/seven-skies/api" + "gitea.neatflow.kr/biosvos/seven-skies/internal/app/flow" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/broker/nats" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/repository/gorm" "github.com/go-chi/chi/v5" "github.com/joho/godotenv" - "github.com/neatflowcv/seven-skies/api" - "github.com/neatflowcv/seven-skies/internal/app/flow" - "github.com/neatflowcv/seven-skies/internal/pkg/broker/nats" - "github.com/neatflowcv/seven-skies/internal/pkg/domain" - "github.com/neatflowcv/seven-skies/internal/pkg/repository/gorm" ) func version() string { diff --git a/go.mod b/go.mod index a6f7fa5..28c5cce 100644 --- a/go.mod +++ b/go.mod @@ -1,19 +1,19 @@ -module github.com/neatflowcv/seven-skies +module gitea.neatflow.kr/biosvos/seven-skies go 1.25.5 require ( github.com/go-chi/chi/v5 v5.2.3 - github.com/go-co-op/gocron/v2 v2.18.2 + github.com/go-co-op/gocron/v2 v2.19.0 github.com/joho/godotenv v1.5.1 - github.com/nats-io/nats.go v1.47.0 + github.com/nats-io/nats.go v1.48.0 github.com/oapi-codegen/runtime v1.1.2 github.com/oklog/ulid/v2 v2.1.1 github.com/stretchr/testify v1.11.1 go.uber.org/mock v0.6.0 gorm.io/driver/postgres v1.6.0 gorm.io/gorm v1.31.1 - resty.dev/v3 v3.0.0-beta.4 + resty.dev/v3 v3.0.0-beta.5 ) require ( diff --git a/go.sum b/go.sum index 08e7755..db51284 100644 --- a/go.sum +++ b/go.sum @@ -8,8 +8,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/go-chi/chi/v5 v5.2.3 h1:WQIt9uxdsAbgIYgid+BpYc+liqQZGMHRaUwp0JUcvdE= github.com/go-chi/chi/v5 v5.2.3/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops= -github.com/go-co-op/gocron/v2 v2.18.2 h1:+5VU41FUXPWSPKLXZQ/77SGzUiPCcakU0v7ENc2H20Q= -github.com/go-co-op/gocron/v2 v2.18.2/go.mod h1:Zii6he+Zfgy5W9B+JKk/KwejFOW0kZTFvHtwIpR4aBI= +github.com/go-co-op/gocron/v2 v2.19.0 h1:OKf2y6LXPs/BgBI2fl8PxUpNAI1DA9Mg+hSeGOS38OU= +github.com/go-co-op/gocron/v2 v2.19.0/go.mod h1:5lEiCKk1oVJV39Zg7/YG10OnaVrDAV5GGR6O0663k6U= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= @@ -37,8 +37,8 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/nats-io/nats.go v1.47.0 h1:YQdADw6J/UfGUd2Oy6tn4Hq6YHxCaJrVKayxxFqYrgM= -github.com/nats-io/nats.go v1.47.0/go.mod h1:iRWIPokVIFbVijxuMQq4y9ttaBTMe0SFdlZfMDd+33g= +github.com/nats-io/nats.go v1.48.0 h1:pSFyXApG+yWU/TgbKCjmm5K4wrHu86231/w84qRVR+U= +github.com/nats-io/nats.go v1.48.0/go.mod h1:iRWIPokVIFbVijxuMQq4y9ttaBTMe0SFdlZfMDd+33g= github.com/nats-io/nkeys v0.4.12 h1:nssm7JKOG9/x4J8II47VWCL1Ds29avyiQDRn0ckMvDc= github.com/nats-io/nkeys v0.4.12/go.mod h1:MT59A1HYcjIcyQDJStTfaOY6vhy9XTUjOFo+SVsvpBg= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= @@ -89,5 +89,5 @@ gorm.io/driver/postgres v1.6.0 h1:2dxzU8xJ+ivvqTRph34QX+WrRaJlmfyPqXmoGVjMBa4= gorm.io/driver/postgres v1.6.0/go.mod h1:vUw0mrGgrTK+uPHEhAdV4sfFELrByKVGnaVRkXDhtWo= gorm.io/gorm v1.31.1 h1:7CA8FTFz/gRfgqgpeKIBcervUn3xSyPUmr6B2WXJ7kg= gorm.io/gorm v1.31.1/go.mod h1:XyQVbO2k6YkOis7C2437jSit3SsDK72s7n7rsSHd+Gs= -resty.dev/v3 v3.0.0-beta.4 h1:2O77oFymtA4NT8AY87wAaSgSGUBk2yvvM1qno9VRXZU= -resty.dev/v3 v3.0.0-beta.4/go.mod h1:NTOerrC/4T7/FE6tXIZGIysXXBdgNqwMZuKtxpea9NM= +resty.dev/v3 v3.0.0-beta.5 h1:NV1xbqOLzSq7XMTs1t/HLPvu7xrxoXzF90SR4OO6faQ= +resty.dev/v3 v3.0.0-beta.5/go.mod h1:NTOerrC/4T7/FE6tXIZGIysXXBdgNqwMZuKtxpea9NM= diff --git a/internal/app/flow/flow.go b/internal/app/flow/flow.go index 8c2c2f0..c3e1d43 100644 --- a/internal/app/flow/flow.go +++ b/internal/app/flow/flow.go @@ -7,8 +7,8 @@ import ( "sort" "time" - "github.com/neatflowcv/seven-skies/internal/pkg/domain" - "github.com/neatflowcv/seven-skies/internal/pkg/repository" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/repository" "github.com/oklog/ulid/v2" ) diff --git a/internal/app/flow/flow_test.go b/internal/app/flow/flow_test.go index 4e52f2f..0b0d51e 100644 --- a/internal/app/flow/flow_test.go +++ b/internal/app/flow/flow_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/neatflowcv/seven-skies/internal/app/flow" - "github.com/neatflowcv/seven-skies/internal/pkg/domain" - "github.com/neatflowcv/seven-skies/internal/pkg/repository/mocks" + "gitea.neatflow.kr/biosvos/seven-skies/internal/app/flow" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/repository/mocks" "github.com/stretchr/testify/require" "go.uber.org/mock/gomock" ) diff --git a/internal/pkg/broker/nats/broker.go b/internal/pkg/broker/nats/broker.go index 9060fc9..f9357b1 100644 --- a/internal/pkg/broker/nats/broker.go +++ b/internal/pkg/broker/nats/broker.go @@ -5,9 +5,9 @@ import ( "fmt" "log" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/broker" "github.com/nats-io/nats.go" "github.com/nats-io/nats.go/jetstream" - "github.com/neatflowcv/seven-skies/internal/pkg/broker" ) var _ broker.Broker = (*Broker)(nil) diff --git a/internal/pkg/broker/nats/broker_test.go b/internal/pkg/broker/nats/broker_test.go index ec84fc3..6659f24 100644 --- a/internal/pkg/broker/nats/broker_test.go +++ b/internal/pkg/broker/nats/broker_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/neatflowcv/seven-skies/internal/pkg/broker/nats" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/broker/nats" "github.com/stretchr/testify/require" ) diff --git a/internal/pkg/openweather/forecaster_test.go b/internal/pkg/openweather/forecaster_test.go index 8d32537..d20348f 100644 --- a/internal/pkg/openweather/forecaster_test.go +++ b/internal/pkg/openweather/forecaster_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" "testing" - "github.com/neatflowcv/seven-skies/internal/pkg/openweather" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/openweather" "github.com/stretchr/testify/require" ) diff --git a/internal/pkg/repository/gorm/repository.go b/internal/pkg/repository/gorm/repository.go index f0fb0d4..ab89784 100644 --- a/internal/pkg/repository/gorm/repository.go +++ b/internal/pkg/repository/gorm/repository.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/neatflowcv/seven-skies/internal/pkg/domain" - "github.com/neatflowcv/seven-skies/internal/pkg/repository" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/repository" "gorm.io/driver/postgres" "gorm.io/gorm" ) diff --git a/internal/pkg/repository/gorm/weather.go b/internal/pkg/repository/gorm/weather.go index 6e84927..d33495c 100644 --- a/internal/pkg/repository/gorm/weather.go +++ b/internal/pkg/repository/gorm/weather.go @@ -3,7 +3,7 @@ package gorm import ( "time" - "github.com/neatflowcv/seven-skies/internal/pkg/domain" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" ) type Weather struct { diff --git a/internal/pkg/repository/mocks/repository.go b/internal/pkg/repository/mocks/repository.go index 16f9072..549cc29 100644 --- a/internal/pkg/repository/mocks/repository.go +++ b/internal/pkg/repository/mocks/repository.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/neatflowcv/seven-skies/internal/pkg/repository (interfaces: Repository) +// Source: gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/repository (interfaces: Repository) // // Generated by this command: // @@ -14,7 +14,7 @@ import ( reflect "reflect" time "time" - domain "github.com/neatflowcv/seven-skies/internal/pkg/domain" + domain "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" gomock "go.uber.org/mock/gomock" ) diff --git a/internal/pkg/repository/repository.go b/internal/pkg/repository/repository.go index bc7409e..ff33de2 100644 --- a/internal/pkg/repository/repository.go +++ b/internal/pkg/repository/repository.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/neatflowcv/seven-skies/internal/pkg/domain" + "gitea.neatflow.kr/biosvos/seven-skies/internal/pkg/domain" ) //go:generate mockgen -typed -package=mocks -destination=mocks/repository.go . Repository