super-graph 框架用到的几个不错的golang 包

viper

强大,通用的golang 配置管理工具,参考https://github.com/spf13/viper

fasttemplate

高性能的模版引擎,同时作者的quicktemplate也很不错,参考http://github.com/valyala/fasttemplate

goja

golang 实现的js 引擎,很不错,sqler也使用了此包,参考 https://github.com/dop251/goja

chirino-graphql

start 数不是很多,但是看功能很不错的graphql 实现,可能大家了解的graphql-go-graphql 会比较多,还有就是gqlgen 
参考资料http://github.com/chirino/graphqlhttps://github.com/graphql-go/graphqlhttps://github.com/99designs/gqlgen

xxhash

xxhash 的golang 实现,这个golang 包使用的项目还是比较多的,参考资料https://github.com/cespare/xxhash

fsnotify

跨平台的的文件通知处理,参考资料,https://github.com/fsnotify/fsnotify

slug

生成url 友好的slugify,支持多语言,这个在基于内容的url开发中很方便,参考资料https://github.com/gosimple/slug

cobra

cli 处理的,golang使用比较广的一个cli包,参考资料https://github.com/spf13/cobra

go.rice

golang 静态资源嵌入的,以前有介绍过,参考资料 https://github.com/GeertJohan/go.rice

gorails

可以集成golang 应用到rails 项目中,参考资料 https://github.com/adjust/gorails

说明

以上是一个关于几个比较有意思包的简单说明,实际上super-graph还使用了其他的golang包,可以查看go.mod 学习

原文地址:https://www.cnblogs.com/rongfengliang/p/12944857.html