Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/farseer-go/fs
/ functions
Functions
589 in github.com/farseer-go/fs
⨍
Functions
589
◇
Types & classes
123
↓ 154 callers
Function
Convert
Convert 通用的类型转换
parse/convert.go:30
↓ 48 callers
Method
ToString
()
trace/eumCallType/enum.go:17
↓ 29 callers
Function
IsEqual
IsEqual 比较两个值是否相等
parse/equal.go:6
↓ 28 callers
Method
Duration
TotalSeconds 获取总秒数 func (receiver DateTime) TotalSeconds() float64 { m, _ := time.ParseDuration(receiver.time.String()) return m.Seconds() //return
dateTime/dt.go:120
↓ 25 callers
Method
Get
Get 读取配置
configure/iConfigLoader.go:7
↓ 25 callers
Function
Red
Red 转为红色字体
color/colors.go:34
↓ 23 callers
Function
getCacheVal
(key string)
types/listType.go:134
↓ 22 callers
Function
IsGoBasicType
IsGoBasicType 是否为Go内置基础类型
types/isType.go:88
↓ 20 callers
Function
Register
Register 注册实例,默认使用单例
container/register.go:18
↓ 19 callers
Function
Now
Now 当前时间
dateTime/dt.go:37
↓ 19 callers
Method
Set
Set 设置值
asyncLocal/newAsyncLocal.go:44
↓ 19 callers
Method
UnixMilli
UnixMilli 获取毫秒
dateTime/dt.go:125
↓ 18 callers
Function
New
New 初始化
dateTime/dt.go:44
↓ 17 callers
Method
Errorf
Error Error日志
core/iLog.go:16
↓ 16 callers
Method
Add
Add 添加一个定时任务
timingWheel/timingWheel.go:73
↓ 16 callers
Method
Error
Warningf Warning日志
core/iLog.go:15
↓ 16 callers
Function
Yellow
Yellow 转为黄色字体
color/colors.go:52
↓ 15 callers
Method
Month
Month 获取月
dateTime/dt.go:98
↓ 15 callers
Function
numberToNumber
(source T, defVal any, returnKind reflect.Kind)
parse/toNumber.go:45
↓ 13 callers
Function
GetString
GetString 获取配置
configure/get.go:61
↓ 13 callers
Method
UnixMicro
UnixMicro 获取微秒
dateTime/dt.go:128
↓ 13 callers
Method
Year
Year 获取年
dateTime/dt.go:95
↓ 12 callers
Method
Day
Day 获取日
dateTime/dt.go:101
↓ 12 callers
Function
GetEnum
GetEnum 名称转枚举
core/eumLogLevel/enum.go:23
↓ 12 callers
Function
Try
Try 执行有可能发生异常的代码块
exception/catchException.go:26
↓ 12 callers
Function
setCache
(key string, val []int)
types/listType.go:121
↓ 11 callers
Function
Println
Println 直接记录日志,没有日志等级
flog/print.go:111
↓ 11 callers
Method
UnixNano
UnixNano 获取纳秒
dateTime/dt.go:131
↓ 11 callers
Function
getCache
(key string)
types/listType.go:127
↓ 10 callers
Method
ElapsedDuration
ElapsedDuration 返回当前已计时的时间
stopwatch/startNew.go:64
↓ 10 callers
Function
GetRealType
GetRealType 获取真实类型
types/getType.go:8
↓ 10 callers
Method
Hour
Hour 获取小时
dateTime/dt.go:104
↓ 10 callers
Method
Minute
Minute 获取分钟
dateTime/dt.go:107
↓ 10 callers
Method
Second
Second 获取秒
dateTime/dt.go:110
↓ 10 callers
Method
ToTime
ToTime 获取time.Time类型
dateTime/dt.go:200
↓ 9 callers
Function
AddPrecision
AddPrecision 添加一个定时任务(高精度)
timingWheel/defaultTimingWheel.go:30
↓ 9 callers
Method
CatchException
CatchException 捕获Any异常
exception/catchException.go:91
↓ 9 callers
Method
GetDbType
()
test/container_interface_test.go:6
↓ 9 callers
Function
Marshal
将对象转换成json(序列化)
snc/json.go:39
↓ 9 callers
Function
PointerOf
PointerOf 传入任意变量类型的值,得出该值对应的类型
fastReflect/valueMeta.go:71
↓ 9 callers
Method
Sub
Sub 时间相减
dateTime/dt.go:195
↓ 9 callers
Function
newBrush
(color string)
color/colors.go:25
↓ 8 callers
Function
Green
Green 转为绿色字体
color/colors.go:70
↓ 8 callers
Method
Log
Log 日志记录
flog/iLoggerProvider.go:15
↓ 8 callers
Method
Run
(fn func())
trace/traceDetail.go:116
↓ 8 callers
Function
getIocName
(iocName ...string)
container/register.go:57
↓ 7 callers
Method
Add
AddSeconds 添加秒
dateTime/dt.go:185
↓ 7 callers
Function
Blue
Blue 转为蓝色字体
color/colors.go:88
↓ 7 callers
Method
EntryQueueConsumer
(queueName, subscribeName string)
trace/emptyManager.go:16
↓ 7 callers
Method
Remove
Remove 移除对象
asyncLocal/newAsyncLocal.go:49
↓ 7 callers
Method
log
调用所有日志记录器的实现
flog/compositionLogger.go:15
↓ 7 callers
Function
newLogData
(logLevel eumLogLevel.Enum, content string, component string)
flog/logData.go:28
↓ 6 callers
Method
CatchRefuseException
CatchRefuseException 捕获RefuseException异常
exception/catchException.go:52
↓ 6 callers
Method
Date
Date 获取Date部份
dateTime/dt.go:134
↓ 6 callers
Function
Debugf
Debugf 打印Debug日志
flog/print.go:29
↓ 6 callers
Method
End
End 链路明细执行完后,统计用时
trace/traceDetail.go:89
↓ 6 callers
Method
Formatter
(log *LogData)
flog/iFormatter.go:13
↓ 6 callers
Function
GenerateId
GenerateId 生成唯一ID(18位)
sonyflake/sonyflake.go:24
↓ 6 callers
Function
Infof
Infof 打印Info日志
flog/print.go:39
↓ 6 callers
Function
InitContainer
()
container/register.go:13
↓ 6 callers
Function
StartNew
StartNew 创建计时器,并开始计时
stopwatch/startNew.go:26
↓ 6 callers
Method
ToString
ToString 转字符串,yyyy-MM-dd hh:mm:ss
dateTime/dt.go:77
↓ 6 callers
Method
setItemHashCode
(itemType reflect.Type)
fastReflect/typeMeta.go:212
↓ 5 callers
Method
CatchStringException
CatchStringException 捕获String异常
exception/catchException.go:65
↓ 5 callers
Function
ConvertValue
ConvertValue 通用的类型转换
parse/convert.go:18
↓ 5 callers
Function
Error
Error 打印Error日志
flog/print.go:54
↓ 5 callers
Method
GetItemMeta
()
fastReflect/typeMeta.go:221
↓ 5 callers
Function
GetSubNodes
GetSubNodes 获取所有子节点
configure/get.go:90
↓ 5 callers
Method
GetTableName
()
test/container_interface_test.go:5
↓ 5 callers
Method
Join
()
trace/traceDetail.go:67
↓ 4 callers
Method
AddDate
AddDate 添加Date
dateTime/dt.go:140
↓ 4 callers
Method
AddProviderFormatter
(provider ILoggerProvider, formatter IFormatter, logLevel eumLogLevel.Enum)
flog/iLoggerFactory.go:25
↓ 4 callers
Method
CatchWebException
CatchWebException 捕获WebException异常
exception/catchException.go:78
↓ 4 callers
Method
GetMillisecondsText
GetMillisecondsText 返回当前已计时的时间(毫秒)
stopwatch/startNew.go:72
↓ 4 callers
Method
GetText
GetNanosecondsText 返回当前已计时的时间
stopwatch/startNew.go:87
↓ 4 callers
Function
HashCode
HashCode 获取哈希值
parse/hashCode.go:10
↓ 4 callers
Function
IsDtoModelIgnoreInterface
IsDtoModelIgnoreInterface 当第一个模型为struct,其它类型为interface时,判断为DTO
types/isType.go:126
↓ 4 callers
Function
IsStruct
IsStruct 是否为Struct
types/isType.go:76
↓ 4 callers
Function
New
()
async/worker.go:16
↓ 4 callers
Function
Printf
Printf 直接记录日志,没有日志等级
flog/print.go:116
↓ 4 callers
Method
SetTableName
(tableName string)
test/container_interface_test.go:4
↓ 4 callers
Function
ThrowException
ThrowException 抛出Exception异常
exception/throwException.go:6
↓ 4 callers
Function
ThrowRefuseException
ThrowRefuseException 抛出RefuseException异常
exception/refuseException.go:11
↓ 4 callers
Function
ToString
ToString 转换成string类型
parse/convert.go:299
↓ 4 callers
Method
Wait
Wait 阻塞等待执行完成
async/worker.go:66
↓ 4 callers
Method
replace
(key string)
configure/envConfig.go:70
↓ 4 callers
Method
resolveField
获取对象
container/container.go:101
↓ 3 callers
Function
ApiResponseLongError403
ApiResponseLongError403 接口调用失时返回的Json
core/apiResponseLong.go:26
↓ 3 callers
Function
Errorf
Errorf 打印Error日志
flog/print.go:73
↓ 3 callers
Function
GetCallerInfo
()
trace/traceDetail.go:172
↓ 3 callers
Function
GetListItemType
GetListItemType 获取List的元素Type
types/listType.go:70
↓ 3 callers
Function
GetRealType2
(val reflect.Type)
types/getType.go:25
↓ 3 callers
Method
Ignore
()
trace/traceDetail.go:109
↓ 3 callers
Function
IsCollections
IsCollections 是否为集合
types/isType.go:71
↓ 3 callers
Function
IsDtoModel
IsDtoModel 当只有一个参数,且非集合类型,又是结构类型时,判断为DTO
types/isType.go:147
↓ 3 callers
Function
RegisterTransient
RegisterTransient 注册实例,临时生命周期
container/register.go:27
↓ 3 callers
Method
Start
Start 开始运行
timingWheel/timingWheel.go:61
↓ 3 callers
Method
ToJson
ToJson 转成Json
core/apiResponse.go:35
↓ 3 callers
Function
Unmarshal
将json转换成对象(反序列化)
snc/json.go:28
↓ 3 callers
Function
anyToNumber
(source any, sourceKind reflect.Kind, defVal any, returnKind reflect.Kind)
parse/toNumber.go:5
next →
1–100 of 589, ranked by callers