adapters

package
v0.0.0-...-8c1580d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(in *Config) *gorm.DB

Types

type Config

type Config struct {
	User     string
	Host     string
	Password string
	DbName   string
	Port     string

	ProjectID      string
	BucketName     string
	AllowedType    string
	ExpirationTime int
	Credentials    string
	Subscription   string
}

func GoDotEnvVariable

func GoDotEnvVariable() (*Config, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL