文件名称:hfunc:框架的集大成者者
文件大小:49KB
文件格式:ZIP
更新时间:2024-05-02 10:51:09
Go
hfunc hfunc 一套轻量级 Go 微服务框架,包含大量微服务相关框架及工具。 Goals 打造一款简单通用,集各家之所长的微服务框架 Principles 简单:不过度设计,代码平实简单; Features Logger:标准日志接口,可方便集成三方 log 库; Web: 封装gin,开箱即用; Orm: 集成gorm, 开箱即用,也可以使用其他orm框架; Server:进行基础的 Server 层封装, 支持tcp,udp,http等协议的使用; Getting Started Required Install hfunc # 安装生成工具 go get github.com/hnit-acm/hfunc/tool/hfunc Create a service # 创建项目模板 hfunc new helloworld Community QQ Group: License
【文件预览】:
hfunc-main
----.gitmodules(110B)
----server()
--------grpc()
--------server.go(157B)
--------http()
--------README.md(76B)
----docs()
--------_config.yml(26B)
--------README.md(24B)
--------index.md(672B)
----array()
--------array.go(303B)
--------array_test.go(349B)
----.github()
--------workflows()
----structure()
--------queue.go(119B)
--------stack.go(86B)
----tool()
--------hfunc()
--------README.md(101B)
----ui()
--------elementUi()
----basic()
--------array.go(1KB)
--------map_test.go(339B)
--------integer16.go(852B)
--------uinteger16.go(871B)
--------uinteger64.go(1KB)
--------json_string.go(484B)
--------string_test.go(1KB)
--------json_string_test.go(1KB)
--------integer64.go(1KB)
--------uinteger8.go(851B)
--------map.go(3KB)
--------array_string_test.go(1006B)
--------integer.go(811B)
--------uinteger32.go(871B)
--------string.go(2KB)
--------time_string_test.go(413B)
--------time_string.go(2KB)
--------interface.go(725B)
--------integer32.go(852B)
--------password_string.go(306B)
--------integer8.go(832B)
--------array_string.go(861B)
--------time.go(1KB)
--------time_test.go(494B)
--------uinteger.go(831B)
----sql()
--------struct_to_xxx.go(6KB)
--------struct_to_xxx_test.go(351B)
----examples()
--------http.go(603B)
--------logh.go(274B)
--------web()
--------README.md(15B)
----.gitignore(6B)
----web()
--------server.go(3KB)
--------route.go(1KB)
--------controller.go(4KB)
----go.sum(12KB)
----state()
--------state.go(1KB)
----logh()
--------log.go(1KB)
--------level.go(666B)
--------stdlog()
--------helper.go(3KB)
--------README.md(45B)
----README.md(967B)
----utils()
--------array.go(371B)
--------string.go(640B)
--------_sort.go(16KB)
--------sort.go(5KB)
--------sort_test.go(2KB)
--------sort_example.go(598B)
----go.mod(174B)