cli_utils

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GOUWEB_FRAMEWORK_VERSION = "v0.9.6"
	GOUWEB_CLI_VERSION       = "v0.3.2"
)

Variables

View Source
var BUILD_OUTPUT string
View Source
var CMD_MIG_ROLLBACK string
View Source
var CMD_MIG_RUN string
View Source
var Dirs []string = []string{
	"framework/",
	"src/",
}
View Source
var ENTRY string
View Source
var NewName string
View Source
var OldName string

Functions

func Build

func Build()

func CreateMigration added in v0.7.1

func CreateMigration()

func CreateModel added in v0.9.0

func CreateModel()

func GenSecurityKey added in v0.9.6

func GenSecurityKey()

func GetVersions added in v0.7.1

func GetVersions()

func InitSvelte added in v0.9.5

func InitSvelte()

very straight and stupid way to do it but i dont want to wrote this function twice(i deleted this fucking file)

func Install

func Install()

func InstallDeps

func InstallDeps()

func MigList added in v0.7.1

func MigList()

func Move added in v0.7.1

func Move()

func Rename added in v0.7.1

func Rename()

func RollbackAll added in v0.7.1

func RollbackAll()

func RollbackMig added in v0.7.1

func RollbackMig(cmd string)

func RunAll added in v0.7.1

func RunAll()

func RunMig added in v0.7.1

func RunMig(cmd string)

func Set

func Set(bo string, e string, cmdMigRollback string, cmdMigRun string)

func WalkThrougFiles added in v0.7.1

func WalkThrougFiles(path string, info os.FileInfo, err error) error

Types

type Dependencies

type Dependencies struct {
	Deps []string `json:"deps"`
}

func ParseDependencies

func ParseDependencies() Dependencies

Jump to

Keyboard shortcuts

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