storage

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string) (int64, error)

func CreateFile

func CreateFile(fileName string)

func CreateFolder

func CreateFolder(folderName string)

func CreateMigrationXmlFile

func CreateMigrationXmlFile()

func CreateNewMigrationXmlFile added in v0.1.8

func CreateNewMigrationXmlFile(file string)

func CreatePlutoFile

func CreatePlutoFile()

func FileExist

func FileExist(fileName string) bool

func Pwd

func Pwd() string

func ReadFiles

func ReadFiles() []fs.DirEntry

func ReadJson

func ReadJson(name string) map[string]interface{}

func RemoveExtensionFromFile

func RemoveExtensionFromFile(file string) string

Types

type PlutoXml

type PlutoXml struct {
	XMLName     xml.Name `xml:"pluto"`
	Database    string   `xml:"database"`
	Run         string   `xml:"run"`
	Rollback    string   `xml:"rollback"`
	Author      string   `xml:"author"`
	Description string   `xml:"description"`
}

func ReadXml

func ReadXml(name string) PlutoXml

Jump to

Keyboard shortcuts

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