cmd

package
v0.0.0-...-45b3839 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetPropDatatype

func GetPropDatatype(prop string) []string

func Startprograms

func Startprograms(command string) (error, string, string)

func TrimDot

func TrimDot(s string) string

func TrimDotright

func TrimDotright(s string) string

func Writetemplate

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

Types

type Fielddata

type Fielddata struct {
	Fields        []string
	CheckFields   []string
	Lowercasename string
	Uppercasename string
}

type Users

type Users struct {
	bun.BaseModel `bun:"table:users,alias:u"`

	ID           string `param:"id" query:"id" form:"id" json:"id" xml:"id" bun:",pk,autoincrement"`
	Email        string `` /* 152-byte string literal not displayed */
	PasswordHash string `` /* 158-byte string literal not displayed */
	PasswordRaw  string `` /* 191-byte string literal not displayed */
	Isdisabled   string `` /* 137-byte string literal not displayed */
	SessionKey   string `` /* 137-byte string literal not displayed */
	SessionName  string `` /* 143-byte string literal not displayed */
	SessionToken string `` /* 149-byte string literal not displayed */
	SiteToken    string `` /* 140-byte string literal not displayed */
}

Directories

Path Synopsis
rest

Jump to

Keyboard shortcuts

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