fmts

package
v0.0.0-...-1de04d0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateDaysDate

func CalculateDaysDate(initialDate, fDate string, layout string) (int, error)

CalculateDaysDate - This function returns number of days of difference between two dates;

Case returns: -(some number) // it's before start date;

Case returns: (some number) // it's after start date;

func Concat

func Concat(strs ...interface{}) string

Concat

func ConcatStr

func ConcatStr(strs ...string) string

ConcatStr

func ConcatStrInt

func ConcatStrInt(strs ...interface{}) string

ConcatStr

func ReplaceSpaces

func ReplaceSpaces(b *[]byte)

replaces "\t" and "\n" to ""

func Stdout

func Stdout(strs ...interface{})

Stdout func

func Substr

func Substr(value string, leni, lenf int) string

substr (text, 2, 30)

Types

This section is empty.

Jump to

Keyboard shortcuts

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