diff --git a/example/main.go b/example/main.go index ddef31c..0cb73d7 100644 --- a/example/main.go +++ b/example/main.go @@ -9,9 +9,9 @@ import ( "github.com/zakirkun/infra-go/example/models" routers "github.com/zakirkun/infra-go/example/routers" "github.com/zakirkun/infra-go/infrastructure" - "github.com/zakirkun/infra-go/internal/config" - "github.com/zakirkun/infra-go/internal/database" - "github.com/zakirkun/infra-go/internal/server" + "github.com/zakirkun/infra-go/pkg/config" + "github.com/zakirkun/infra-go/pkg/database" + "github.com/zakirkun/infra-go/pkg/server" ) var configFile *string diff --git a/infrastructure/bootstrap.go b/infrastructure/bootstrap.go index 3f44939..afa3703 100644 --- a/infrastructure/bootstrap.go +++ b/infrastructure/bootstrap.go @@ -3,8 +3,8 @@ package infrastructure import ( "os" - "github.com/zakirkun/infra-go/internal/database" - "github.com/zakirkun/infra-go/internal/server" + "github.com/zakirkun/infra-go/pkg/database" + "github.com/zakirkun/infra-go/pkg/server" ) type Infrastructure interface { diff --git a/internal/config/toml.go b/pkg/config/toml.go similarity index 100% rename from internal/config/toml.go rename to pkg/config/toml.go diff --git a/internal/database/database.go b/pkg/database/database.go similarity index 100% rename from internal/database/database.go rename to pkg/database/database.go diff --git a/internal/database/gen.go b/pkg/database/gen.go similarity index 100% rename from internal/database/gen.go rename to pkg/database/gen.go diff --git a/internal/database/globals.go b/pkg/database/globals.go similarity index 100% rename from internal/database/globals.go rename to pkg/database/globals.go diff --git a/internal/database/migration.go b/pkg/database/migration.go similarity index 100% rename from internal/database/migration.go rename to pkg/database/migration.go diff --git a/internal/server/server.go b/pkg/server/server.go similarity index 100% rename from internal/server/server.go rename to pkg/server/server.go