🧰 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/event
Lightweight 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/filter
Data filtergookit/cache
Cache managergookit/i18n
i18n managementgookit/greq
Http clientgookit/gitw
Git 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/ini
INI
format contents parsegookit/properties
Properties
format 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/respond
Quick respond Text, HTML, XML, JSON, JSONP data to http.ResponseWritergookit/easytpl
Simple and easy-to-use template renderer, based on Golang html/template package.
- CLI Application
gookit/gcli
Go 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.