From 0989b9ebdcac14cabde5440194e667bd84058c40 Mon Sep 17 00:00:00 2001 From: lab Date: Fri, 31 Dec 2021 03:37:11 +0800 Subject: [PATCH] feat: mv internal/pkg to root [skip ci] --- {internal/pkg => pkg}/config/config.go | 0 {internal/pkg => pkg}/database/pgsqldb/gorm.go | 0 {internal/pkg => pkg}/form/conform.go | 0 {internal/pkg => pkg}/form/encoding.go | 0 {internal/pkg => pkg}/form/form.go | 0 {internal/pkg => pkg}/form/scrub.go | 0 {internal/pkg => pkg}/form/validate.go | 0 {internal/pkg => pkg}/logging/gormlogrus/gormlogrus.go | 0 {internal/pkg => pkg}/logging/hook/logrumgo/logrusmgo.go | 0 {internal/pkg => pkg}/logging/logrus.go | 0 {internal/pkg => pkg}/logging/pgxlogrus/pgxlogrus.go | 0 {internal/pkg => pkg}/pubsub/pubsub.go | 0 {internal/pkg => pkg}/web/middleware/header.go | 0 {internal/pkg => pkg}/web/middleware/request.go | 0 14 files changed, 0 insertions(+), 0 deletions(-) rename {internal/pkg => pkg}/config/config.go (100%) rename {internal/pkg => pkg}/database/pgsqldb/gorm.go (100%) rename {internal/pkg => pkg}/form/conform.go (100%) rename {internal/pkg => pkg}/form/encoding.go (100%) rename {internal/pkg => pkg}/form/form.go (100%) rename {internal/pkg => pkg}/form/scrub.go (100%) rename {internal/pkg => pkg}/form/validate.go (100%) rename {internal/pkg => pkg}/logging/gormlogrus/gormlogrus.go (100%) rename {internal/pkg => pkg}/logging/hook/logrumgo/logrusmgo.go (100%) rename {internal/pkg => pkg}/logging/logrus.go (100%) rename {internal/pkg => pkg}/logging/pgxlogrus/pgxlogrus.go (100%) rename {internal/pkg => pkg}/pubsub/pubsub.go (100%) rename {internal/pkg => pkg}/web/middleware/header.go (100%) rename {internal/pkg => pkg}/web/middleware/request.go (100%) diff --git a/internal/pkg/config/config.go b/pkg/config/config.go similarity index 100% rename from internal/pkg/config/config.go rename to pkg/config/config.go diff --git a/internal/pkg/database/pgsqldb/gorm.go b/pkg/database/pgsqldb/gorm.go similarity index 100% rename from internal/pkg/database/pgsqldb/gorm.go rename to pkg/database/pgsqldb/gorm.go diff --git a/internal/pkg/form/conform.go b/pkg/form/conform.go similarity index 100% rename from internal/pkg/form/conform.go rename to pkg/form/conform.go diff --git a/internal/pkg/form/encoding.go b/pkg/form/encoding.go similarity index 100% rename from internal/pkg/form/encoding.go rename to pkg/form/encoding.go diff --git a/internal/pkg/form/form.go b/pkg/form/form.go similarity index 100% rename from internal/pkg/form/form.go rename to pkg/form/form.go diff --git a/internal/pkg/form/scrub.go b/pkg/form/scrub.go similarity index 100% rename from internal/pkg/form/scrub.go rename to pkg/form/scrub.go diff --git a/internal/pkg/form/validate.go b/pkg/form/validate.go similarity index 100% rename from internal/pkg/form/validate.go rename to pkg/form/validate.go diff --git a/internal/pkg/logging/gormlogrus/gormlogrus.go b/pkg/logging/gormlogrus/gormlogrus.go similarity index 100% rename from internal/pkg/logging/gormlogrus/gormlogrus.go rename to pkg/logging/gormlogrus/gormlogrus.go diff --git a/internal/pkg/logging/hook/logrumgo/logrusmgo.go b/pkg/logging/hook/logrumgo/logrusmgo.go similarity index 100% rename from internal/pkg/logging/hook/logrumgo/logrusmgo.go rename to pkg/logging/hook/logrumgo/logrusmgo.go diff --git a/internal/pkg/logging/logrus.go b/pkg/logging/logrus.go similarity index 100% rename from internal/pkg/logging/logrus.go rename to pkg/logging/logrus.go diff --git a/internal/pkg/logging/pgxlogrus/pgxlogrus.go b/pkg/logging/pgxlogrus/pgxlogrus.go similarity index 100% rename from internal/pkg/logging/pgxlogrus/pgxlogrus.go rename to pkg/logging/pgxlogrus/pgxlogrus.go diff --git a/internal/pkg/pubsub/pubsub.go b/pkg/pubsub/pubsub.go similarity index 100% rename from internal/pkg/pubsub/pubsub.go rename to pkg/pubsub/pubsub.go diff --git a/internal/pkg/web/middleware/header.go b/pkg/web/middleware/header.go similarity index 100% rename from internal/pkg/web/middleware/header.go rename to pkg/web/middleware/header.go diff --git a/internal/pkg/web/middleware/request.go b/pkg/web/middleware/request.go similarity index 100% rename from internal/pkg/web/middleware/request.go rename to pkg/web/middleware/request.go