About
Gookit - Useful libs for the Go(router, console, log, config, cache, event, validate, filter, i18n, respond-data, view-render, DI)
Build your application
Build your application by Gookit packages.
- Basic Component
gookit/validateGo package for data validation and filtering. support Map, Struct, Form data.gookit/goutilHelper 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/slogLightweight, 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
- Config management
gookit/configGo 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/ruxRux 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.ResponseWritergookit/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/colorTerminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows.
- Tool Component
gookit/miglitemiglite is a simplified database schema migration tool.gookit/cacheCache managergookit/i18ni18n managementgookit/greqHttp client request librarygookit/gitwGit command wrapper