mmisc

package
v0.0.0-...-b135ab3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DateJpToEnEs

func DateJpToEnEs(date, c, sep string) (string, error)

DateJpToEs returns a string with the passed 'japanese' YYYYMMDD date to a 'english' MM/DD/YYYY or 'spanish' DD/MM/YYYY (separator must be included)

func DateTodayJp

func DateTodayJp() string

DateTodayJp returns a string with today's date in 'japanese' YYYYMMDD format

func IsDateJp

func IsDateJp(date string) bool

IsDateJp returns true if the passed string has a 'japanese' YYYYMMDD format date

func ProcessColor

func ProcessColor(temp string) string

ProcessColor processes a string like 'rgb(255,0,0)' or 'rgba(255,0,0,0.50000)' and returns a string like '#ff0000

Types

This section is empty.

Jump to

Keyboard shortcuts

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