golib

module
v0.0.0-...-7a2a333 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.0

README

golib

常用的函数封装

Directories

Path Synopsis
controller
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2021-07-20 11:34:01 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\autoroute\controller\auth.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2021-07-20 11:34:01 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\autoroute\controller\auth.go * hnxr
defaulter
* @Author: Wangjun * @Date: 2023-09-01 13:39:49 * @LastEditTime: 2024-04-01 14:03:57 * @LastEditors: wangjun haodreams@163.com * @Description:创建默认的router * @FilePath: \xrdatad:\go\src\gitee.com\haodreams\golib\autoroute\defaulter\default.go * hnxr
* @Author: Wangjun * @Date: 2023-09-01 13:39:49 * @LastEditTime: 2024-04-01 14:03:57 * @LastEditors: wangjun haodreams@163.com * @Description:创建默认的router * @FilePath: \xrdatad:\go\src\gitee.com\haodreams\golib\autoroute\defaulter\default.go * hnxr
minauth
* @Author: Wangjun * @Date: 2021-07-19 19:31:56 * @LastEditTime: 2023-07-20 13:38:58 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\autoroute\minauth\user.go * hnxr
* @Author: Wangjun * @Date: 2021-07-19 19:31:56 * @LastEditTime: 2023-07-20 13:38:58 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\autoroute\minauth\user.go * hnxr
restdef
* @Author: Wangjun * @Date: 2021-11-01 10:59:05 * @LastEditTime: 2021-11-01 11:06:03 * @LastEditors: Wangjun * @Description: * @FilePath: \xr_ai_monitord:\go\src\gitee.com\haodreams\golib\autoroute\restdef\restdef.go * hnxr
* @Author: Wangjun * @Date: 2021-11-01 10:59:05 * @LastEditTime: 2021-11-01 11:06:03 * @LastEditors: Wangjun * @Description: * @FilePath: \xr_ai_monitord:\go\src\gitee.com\haodreams\golib\autoroute\restdef\restdef.go * hnxr
* @Author: Wangjun * @Date: 2021-11-17 14:25:27 * @LastEditTime: 2021-11-17 14:35:58 * @LastEditors: Wangjun * @Description: * @FilePath: \xr_ai_monitord:\go\src\gitee.com\haodreams\golib\basic\basic.go * hnxr
* @Author: Wangjun * @Date: 2021-11-17 14:25:27 * @LastEditTime: 2021-11-17 14:35:58 * @LastEditors: Wangjun * @Description: * @FilePath: \xr_ai_monitord:\go\src\gitee.com\haodreams\golib\basic\basic.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2022-08-08 15:47:03 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\calc\float.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2022-08-08 15:47:03 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\calc\float.go * hnxr
* @Date: 2022-11-30 16:05:41 * @LastEditors: fuzhuang * @LastEditTime: 2023-12-11 09:32:42 * @FilePath: \golib\ck\ck_db.go * @Description:
* @Date: 2022-11-30 16:05:41 * @LastEditors: fuzhuang * @LastEditTime: 2023-12-11 09:32:42 * @FilePath: \golib\ck\ck_db.go * @Description:
* @Author: Wangjun * @Date: 2023-06-29 08:55:27 * @LastEditTime: 2023-09-21 13:25:45 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\cklog\cklog.go * hnxr
* @Author: Wangjun * @Date: 2023-06-29 08:55:27 * @LastEditTime: 2023-09-21 13:25:45 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\cklog\cklog.go * hnxr
config
dbconf
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2023-09-12 17:28:54 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\config\dbconf\confdb.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2023-09-12 17:28:54 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\config\dbconf\confdb.go * hnxr
Package csvstruct provides methods to decode a CSV file into a struct.
Package csvstruct provides methods to decode a CSV file into a struct.
* @Author: Wangjun * @Date: 2022-01-06 16:46:05 * @LastEditTime: 2022-02-14 10:52:32 * @LastEditors: Wangjun * @Description: * @FilePath: \plc_state_fand:\go\src\gitee.com\haodreams\golib\datachange\group.go * hnxr
* @Author: Wangjun * @Date: 2022-01-06 16:46:05 * @LastEditTime: 2022-02-14 10:52:32 * @LastEditors: Wangjun * @Description: * @FilePath: \plc_state_fand:\go\src\gitee.com\haodreams\golib\datachange\group.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2022-04-11 09:22:49 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\dbutils\dbutils.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2022-04-11 09:22:49 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\dbutils\dbutils.go * hnxr
* @Date: 2023-04-29 13:47:39 * @LastEditors: fuzhuang * @LastEditTime: 2023-12-11 10:42:37 * @FilePath: \golib\easydb\easydb.go * @Description:
* @Date: 2023-04-29 13:47:39 * @LastEditors: fuzhuang * @LastEditTime: 2023-12-11 10:42:37 * @FilePath: \golib\easydb\easydb.go * @Description:
* @Date: 2021-06-30 20:36:39 * @LastEditors: Wangjun * @LastEditTime: 2023-09-12 17:27:09 * @FilePath: \golib\env\env.go * @Description:
* @Date: 2021-06-30 20:36:39 * @LastEditors: Wangjun * @LastEditTime: 2023-09-12 17:27:09 * @FilePath: \golib\env\env.go * @Description:
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2023-04-07 15:53:27 * @LastEditors: Wangjun * @Description: * @FilePath: \xrdatad:\go\src\gitee.com\haodreams\golib\exception\exception.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2023-04-07 15:53:27 * @LastEditors: Wangjun * @Description: * @FilePath: \xrdatad:\go\src\gitee.com\haodreams\golib\exception\exception.go * hnxr
* @Author: Wangjun * @Date: 2023-02-27 14:48:23 * @LastEditTime: 2023-02-27 14:58:43 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\fixedqueue\queue.go * hnxr
* @Author: Wangjun * @Date: 2023-02-27 14:48:23 * @LastEditTime: 2023-02-27 14:58:43 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\fixedqueue\queue.go * hnxr
* @Author: Wangjun * @Date: 2022-08-19 16:17:31 * @LastEditTime: 2023-06-02 10:22:39 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\gdb\clickhouse.go * hnxr
* @Author: Wangjun * @Date: 2022-08-19 16:17:31 * @LastEditTime: 2023-06-02 10:22:39 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\gdb\clickhouse.go * hnxr
* @Author: Wangjun * @Date: 2021-06-11 18:00:32 * @LastEditTime: 2022-09-21 15:23:50 * @LastEditors: wangjun haodreams@163.com * @Description:生成code * @FilePath: \rtserviced:\go\src\gitee.com\haodreams\golib\gensql\gensql.go * hnxr
* @Author: Wangjun * @Date: 2021-06-11 18:00:32 * @LastEditTime: 2022-09-21 15:23:50 * @LastEditors: wangjun haodreams@163.com * @Description:生成code * @FilePath: \rtserviced:\go\src\gitee.com\haodreams\golib\gensql\gensql.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2021-08-09 17:13:43 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\iotools\iotools.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2021-08-09 17:13:43 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\iotools\iotools.go * hnxr
js
jstask
* @Date: 2021-08-15 23:11:38 * @LastEditors: Wangjun * @LastEditTime: 2023-03-15 18:39:39 * @FilePath: \golib\js\jstask\boss.go * @Description:
* @Date: 2021-08-15 23:11:38 * @LastEditors: Wangjun * @LastEditTime: 2023-03-15 18:39:39 * @FilePath: \golib\js\jstask\boss.go * @Description:
jsutil
* @Author: Wangjun * @Date: 2023-05-19 16:51:32 * @LastEditTime: 2023-10-29 21:19:04 * @LastEditors: Wangjun * @Description: * @FilePath: \ai_tradee:\go\src\gitee.com\haodreams\golib\js\jsutil\jsthis.go * hnxr
* @Author: Wangjun * @Date: 2023-05-19 16:51:32 * @LastEditTime: 2023-10-29 21:19:04 * @LastEditors: Wangjun * @Description: * @FilePath: \ai_tradee:\go\src\gitee.com\haodreams\golib\js\jsutil\jsthis.go * hnxr
lua
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2022-09-25 22:22:10 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\lz4file\lz4file.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:19 * @LastEditTime: 2022-09-25 22:22:10 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\lz4file\lz4file.go * hnxr
* @Author: Wangjun * @Date: 2022-11-11 10:58:40 * @LastEditTime: 2022-11-14 16:18:44 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\memory\memory.go * hnxr
* @Author: Wangjun * @Date: 2022-11-11 10:58:40 * @LastEditTime: 2022-11-14 16:18:44 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\memory\memory.go * hnxr
test
* @Author: Wangjun * @Date: 2022-11-14 16:04:20 * @LastEditTime: 2022-11-14 16:07:33 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\memory\test\main.go * hnxr
* @Author: Wangjun * @Date: 2022-11-14 16:04:20 * @LastEditTime: 2022-11-14 16:07:33 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\memory\test\main.go * hnxr
* @Date: 2022-08-01 22:59:59 * @LastEditors: Wangjun * @LastEditTime: 2023-03-17 18:41:48 * @FilePath: \golib\nat\nat.go * @Description:
* @Date: 2022-08-01 22:59:59 * @LastEditors: Wangjun * @LastEditTime: 2023-03-17 18:41:48 * @FilePath: \golib\nat\nat.go * @Description:
* @Date: 2022-07-15 23:11:47 * @LastEditors: Wangjun * @LastEditTime: 2022-07-15 23:14:08 * @FilePath: \golib\process\process.go * @Description:
* @Date: 2022-07-15 23:11:47 * @LastEditors: Wangjun * @LastEditTime: 2022-07-15 23:14:08 * @FilePath: \golib\process\process.go * @Description:
test
* @Author: fuzhuang * @Date: 2023-12-11 09:23:21 * @LastEditTime: 2023-12-11 10:18:01 * @LastEditors: fuzhuang * @Description: * @FilePath: \golib\serialer\test\test.go
* @Author: fuzhuang * @Date: 2023-12-11 09:23:21 * @LastEditTime: 2023-12-11 10:18:01 * @LastEditors: fuzhuang * @Description: * @FilePath: \golib\serialer\test\test.go
* @Author: Wangjun * @Date: 2021-05-15 22:43:20 * @LastEditTime: 2022-05-20 14:58:51 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\sliceutil\getter.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:20 * @LastEditTime: 2022-05-20 14:58:51 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\sliceutil\getter.go * hnxr
Package snaker provides methods to convert CamelCase names to snake_case and back.
Package snaker provides methods to convert CamelCase names to snake_case and back.
* @Author: Wangjun * @Date: 2023-01-06 10:30:04 * @LastEditTime: 2023-01-06 10:31:20 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\startruntime\start_run_time.go * hnxr
* @Author: Wangjun * @Date: 2023-01-06 10:30:04 * @LastEditTime: 2023-01-06 10:31:20 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\startruntime\start_run_time.go * hnxr
* @Author: Wangjun * @Date: 2021-08-20 11:00:46 * @LastEditTime: 2022-05-20 14:33:53 * @LastEditors: Wangjun * @Description:struct 和 xlsx 转换 * @FilePath: \golib\structdetail\struct_detail.go * hnxr
* @Author: Wangjun * @Date: 2021-08-20 11:00:46 * @LastEditTime: 2022-05-20 14:33:53 * @LastEditors: Wangjun * @Description:struct 和 xlsx 转换 * @FilePath: \golib\structdetail\struct_detail.go * hnxr
* @Date: 2022-09-25 22:29:03 * @LastEditors: Wangjun * @LastEditTime: 2022-11-12 16:37:32 * @FilePath: \golib\ttf\ttf.go * @Description:
* @Date: 2022-09-25 22:29:03 * @LastEditors: Wangjun * @LastEditTime: 2022-11-12 16:37:32 * @FilePath: \golib\ttf\ttf.go * @Description:
* @Author: wangjun haodreams@163.com * @Date: 2022-07-21 20:24:12 * @LastEditors: Wangjun * @LastEditTime: 2023-05-31 00:10:52 * @FilePath: \ai_tradee:\go\src\gitee.com\haodreams\golib\winextend\window.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Author: wangjun haodreams@163.com * @Date: 2022-07-21 20:24:12 * @LastEditors: Wangjun * @LastEditTime: 2023-05-31 00:10:52 * @FilePath: \ai_tradee:\go\src\gitee.com\haodreams\golib\winextend\window.go * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
c
* @Author: Wangjun * @Date: 2022-07-22 15:27:01 * @LastEditTime: 2023-03-16 22:52:56 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\winextend\c\main.go * hnxr
* @Author: Wangjun * @Date: 2022-07-22 15:27:01 * @LastEditTime: 2023-03-16 22:52:56 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\winextend\c\main.go * hnxr
wnd
* @Date: 2022-11-12 16:56:26 * @LastEditors: Wangjun * @LastEditTime: 2022-11-12 16:57:41 * @FilePath: \golib\wnd\wnd_linux.go * @Description:
* @Date: 2022-11-12 16:56:26 * @LastEditors: Wangjun * @LastEditTime: 2022-11-12 16:57:41 * @FilePath: \golib\wnd\wnd_linux.go * @Description:
test
* @Author: Wangjun * @Date: 2022-11-14 16:53:09 * @LastEditTime: 2022-12-30 10:38:01 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\wnd\test\main.go * hnxr
* @Author: Wangjun * @Date: 2022-11-14 16:53:09 * @LastEditTime: 2022-12-30 10:38:01 * @LastEditors: Wangjun * @Description: * @FilePath: \golib\wnd\test\main.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:20 * @LastEditTime: 2022-08-23 10:33:01 * @LastEditors: Wangjun * @Description: * @FilePath: \fan_wind_powerd:\go\src\gitee.com\haodreams\golib\wrap\wrap.go * hnxr
* @Author: Wangjun * @Date: 2021-05-15 22:43:20 * @LastEditTime: 2022-08-23 10:33:01 * @LastEditors: Wangjun * @Description: * @FilePath: \fan_wind_powerd:\go\src\gitee.com\haodreams\golib\wrap\wrap.go * hnxr
* @Author: Wangjun * @Date: 2021-07-20 10:22:48 * @LastEditTime: 2021-08-03 11:33:31 * @LastEditors: Wangjun * @Description:日志 * @FilePath: \scadae:\go\src\gitee.com\haodreams\golib\zlog\zlog.go * hnxr
* @Author: Wangjun * @Date: 2021-07-20 10:22:48 * @LastEditTime: 2021-08-03 11:33:31 * @LastEditors: Wangjun * @Description:日志 * @FilePath: \scadae:\go\src\gitee.com\haodreams\golib\zlog\zlog.go * hnxr

Jump to

Keyboard shortcuts

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