storage

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 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 CreateMigrationFile

func CreateMigrationFile()

func CreateMigrationXmlFile

func CreateMigrationXmlFile()

func CreatePlutoFile

func CreatePlutoFile()

func FileExist

func FileExist(fileName string) bool

func Pwd

func Pwd() string

func ReadFiles

func ReadFiles() []fs.FileInfo

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"`
}

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