portal/interfaces/portal.go

16 lines
206 B
Go

package interfaces
import (
"github.com/spf13/viper"
"go.uber.org/zap"
"gorm.io/gorm"
)
type Portal interface {
Initialize() error
Run()
Config() *viper.Viper
Logger() *zap.Logger
Db() *gorm.DB
}