util

package
v0.0.0-...-44f1f20 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAge

func GetAge(date string) (uint8, error)

func GetAgeAndConstell

func GetAgeAndConstell(date string) (uint8, string, error)

func GetConstellation

func GetConstellation(date string) (string, error)

GetConstellation get the constellation of date, but it do not know the date that not exist

func NewToken

func NewToken(oid string, sex uint8, isAdm bool) (string, error)

func RandomStr

func RandomStr(strLen int) string

func RemoteIp

func RemoteIp(req *http.Request) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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