gettabledata

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDB

func AddDB(path string, Grabdatatemp string)

add connections from a database to a file

func Createtemplatefile

func Createtemplatefile(f string)

creates a template file for the app

func GetUrlTitle

func GetUrlTitle(prop []string) ([]string, []string)

get all url and title from database

func IsError

func IsError(err error) bool

error checker

func Makefile

func Makefile(p string) *os.File

make any file

func Makefolder

func Makefolder(p string)

make any folder

func PullDowndb

func PullDowndb(p string)

pulls down database dependencies

func Pulldowneverything

func Pulldowneverything(p string)

pulls down dependencies + installs echo

func Pulldowneverythingbase

func Pulldowneverythingbase(p string)

pulls down dependencies

func Showdata

func Showdata(path string)

show data on html template file

func TrimColan

func TrimColan(s string) string

func TrimColanright

func TrimColanright(s string) string

func Writefiles

func Writefiles(path, o, n string)

write to any file

func Writetemplate

func Writetemplate(temp string, f *os.File, d map[string]string)

write any template to file

func WritetemplateData

func WritetemplateData(temp string, f *os.File, d Data)

write any template to file

Types

type Data

type Data struct {
	Table      string
	Fields     []string
	Types      []string
	Fieldtypes []string
}

func GetTableNameAppData

func GetTableNameAppData(icb any) Data

Jump to

Keyboard shortcuts

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