Categorygithub.com/fplib-go/fplib
modulepackage
0.0.0-20191210122244-16eaaa937c16
Repository: https://github.com/fplib-go/fplib.git
Documentation: pkg.go.dev

# README

fplib

golang 常用功能库

# Functions

No description provided by the author
No description provided by the author
判断是否是布尔真值,支持字符串的true和false等写法.
"2006-01-02 15:04:05 -0700 MST".
No description provided by the author
No description provided by the author
深拷贝.
如果变量为空,设置变量的默认值.
检测编码类型.
判断变量是否为空.
No description provided by the author
No description provided by the author
No description provided by the author
gbk转utf8.
三元运算符hack.
反射方式获取变量是否在数组中.
反射方式获取变量是否在数组中,如果存在返回索引,不存在返回-1.
No description provided by the author
转换为int型.
转换为int型.
No description provided by the author
从map[string]interface{}中获取字符串.
No description provided by the author
No description provided by the author
转换为string型.
No description provided by the author
No description provided by the author
No description provided by the author
转utf8,自动检测类型.
支持多字符连续处理的trim.
获取变量的类型名称.
utf8转gbk.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author