utils

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTesting

func IsTesting() bool

func JSONEncode

func JSONEncode(value interface{}) []byte

func JSONEncodePretty

func JSONEncodePretty(value interface{}) []byte

func Print

func Print(arg ...interface{})

func PrintError

func PrintError(err error)

func Println

func Println(arg ...interface{})

func TimeFormat

func TimeFormat(format string, now ...time.Time) string

文档 http://php.net/manual/en/function.date.php 目前没有支持的 S, L, o, B, v, e, I

Types

This section is empty.

Jump to

Keyboard shortcuts

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