🧰 Gookit - Useful libs for the Go(router, console, log, config, cache, event, validate, filter, i18n, respond-data, view-render, DI)
Build your application by Gookit packages.
- Common Component
gookit/validate⚔ Go package for data validation and filtering. support Map, Struct, Form data.
gookit/goutil💪 Helper Utils For Go: int, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more.
gookit/eventLightweight event manager and dispatcher implements by Go.
gookit/slog📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.
gookit/filterData filter
gookit/cacheCache manager
gookit/i18ni18n management
gookit/greqHttp client
gookit/gitwGit command wrapper
- Config management
gookit/config📝 Go configuration manage(load,get,set,export). support JSON, YAML, TOML, Properties, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var.
gookit/iniINIformat contents parsegookit/propertiesPropertiesformat contents parse
- Web Application
gookit/rux⚡ Rux is an simple and fast web framework. support route group, param route binding, middleware, compatible http.Handler interface.
gookit/respondQuick respond Text, HTML, XML, JSON, JSONP data to http.ResponseWriter
gookit/easytplSimple and easy-to-use template renderer, based on Golang html/template package.
- CLI Application
gookit/gcliGo CLI application, tool library, running CLI commands, support console color, user interaction, progress display, data formatting display, generate bash/zsh completion add more features.
gookit/color🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows.