common

package module
v0.0.0-...-cb0595f Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: MIT Imports: 12 Imported by: 0

README

common

commonly used custom functions

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(encoded string) string

func Base64Encode

func Base64Encode(msg string) string

func EscapeLatex

func EscapeLatex(s string) string

func ExcelDateNumber

func ExcelDateNumber(s string) int

func ExcelRefresh

func ExcelRefresh(fileName string)

func IndexOf

func IndexOf(target int, intSlice []int) int

func PadZero

func PadZero(s string) string

func ReverseProxy

func ReverseProxy(proxyPort string, pathMap map[string]string)

func TimeNowString

func TimeNowString() string

func ValidBarcode7

func ValidBarcode7(s string) bool

func ValidBarcode8

func ValidBarcode8(s string) bool

func ValidCarton20

func ValidCarton20(s string) bool

func WriteFile

func WriteFile(name string, content string) error

Types

type TmpRow7

type TmpRow7 struct {
	Str1   string
	Str2   string
	Str3   string
	Str4   string
	Str5   string
	Str6   string
	Str7   string
	Int1   int64
	Int2   int64
	Int3   int64
	Int4   int64
	Int5   int64
	Int6   int64
	Int7   int64
	Float1 float64
	Float2 float64
	Float3 float64
	Float4 float64
	Float5 float64
	Float6 float64
	Float7 float64
}

func StringToRows7

func StringToRows7(data string, config []string) []TmpRow7

Jump to

Keyboard shortcuts

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