utils

package
v0.0.0-...-6a8978f Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ISO8601_FORMAT             = "2006-01-02T15:04:05Z"
	DEFAULT_TIME_MINITE_FORMAT = "2006-01-02T15:04Z"
	TIME_SECOND_FORMAT_MOD1    = "2006-01-02 15:04:05"
)

Variables

This section is empty.

Functions

func ParseDefaultMiniteTime

func ParseDefaultMiniteTime(t string) int64

func ParseDefaultSecondTime

func ParseDefaultSecondTime(t string) int64

func ParseSecondMod1Time

func ParseSecondMod1Time(t string) int64

func ParseTime

func ParseTime(format, t string) int64

func PtrFloat64

func PtrFloat64(v *float64) float64

func PtrInt32

func PtrInt32(v *int32) int32

func PtrInt64

func PtrInt64(v *int64) int64

func PtrStrV

func PtrStrV(v *string) string

func SlicePtrStrv

func SlicePtrStrv(items []*string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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