models

package
v0.0.0-...-81153a2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name     string
	User     string
	Password string
	Host     string
	Port     string
	SslMode  string
}

func (*Config) ConnStr

func (cfg *Config) ConnStr() string

func (*Config) ConnStrDatabase

func (cfg *Config) ConnStrDatabase() string

type Flags

type Flags struct {
	Help           bool
	Env            string
	GenMigration   string
	ListMigrations bool
	Create         bool
	Drop           bool
	Migrate        bool
	MigrateDry     bool
	FullReset      bool
	Summary        bool
}

Jump to

Keyboard shortcuts

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