general

package
v0.0.0-...-11c86b9 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: AGPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddZip

func AddZip(filename string, zipw *zip.Writer) error

func AppendStringToFiles

func AppendStringToFiles(path, text string) error

func ConfigAddEnv

func ConfigAddEnv(f string, E string)

func ConfigAddFile

func ConfigAddFile(f string, E string)

func Copy

func Copy(o string, n string)

func CreateBase

func CreateBase(p string, filename string) (*os.File, *os.File)

creates the main, server, template

func CreateConfig

func CreateConfig()

creates the config folder/file

func CreateDB

func CreateDB(p string, fn string)

create dir and file of the database/model

func CreateRoute

func CreateRoute(p string, fn string) *os.File

create dir and file of the database/model

func CreateServ

func CreateServ(p string, filename string) *os.File

func DBcreate

func DBcreate()

func FInfo

func FInfo(f os.FileInfo)

file logger

func FTree

func FTree(f string)

func FindText

func FindText(p, str string) bool

func FindTextNReturn

func FindTextNReturn(p, str string) string

func GetPropDatatype

func GetPropDatatype(prop string) []string

func GetPropValue

func GetPropValue(prop string) []string

func GetSubslice

func GetSubslice(s []string) [][]string

creates a slice of slices

func Getcom

func Getcom(b *bufio.Reader) string

func Getfields

func Getfields() string

func IsNumeric

func IsNumeric(s string) bool

func Noescape

func Noescape(str string) template.HTML

func PWD

func PWD()

func ReadFile

func ReadFile(p string) string

func Readconfig

func Readconfig(f string, configvalues string) string

func Replace

func Replace(o string, n string)

func ScanWords

func ScanWords(f string, o string, n string)

func SepCommaProp

func SepCommaProp(s []string) []string

takes a slice and incrementally adds values by 2 and adds commas

func SepProp

func SepProp(s []string) []string

takes a slice and incrementally adds values by 2

func SeparateCommaProp

func SeparateCommaProp(s []string) ([]string, []string)

func Shellout

func Shellout(command string) (error, string, string)

func ShelloutBash

func ShelloutBash(command string) (error, string, string)

func Startprograms

func Startprograms(command string) (error, string, string, *exec.Cmd)

func Tree

func Tree()

func TrimDash

func TrimDash(s string) string

func TrimDot

func TrimDot(s string) string

func TrimDotright

func TrimDotright(s string) string

func TrimStringFromDash

func TrimStringFromDash(s string) string

func TrimStringFromDot

func TrimStringFromDot(s string) string

func UpdateText

func UpdateText(f string, o string, n string)

f is for file, o is for old text, n is for new text

func Watch

func Watch() *exec.Cmd

func WriteFile

func WriteFile(f string)

func ZipOpen

func ZipOpen(z string, d string)

func ZipUp

func ZipUp(z string, a string, b string, c string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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