Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings
gookit

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Gookit

Useful package for the Go(router, console, log, config, cache, event, validate, filter, i18n, respond-data, view-render, DI)

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/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 filter
  • 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 parse
    • gookit/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.ResponseWriter
    • gookit/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.
  • Tool Component

Pinned Loading

  1. validate validate Public

    Go package for data validation and filtering. support Map, Struct, Form data. GoTong Yong De Shu Ju Yan Zheng Yu Guo Lu Ku ,Shi Yong Jian Dan ,Nei Zhi Da Bu Fen Chang Yong Yan Zheng , Guo Lu Qi ,Zhi Chi Zi Ding Yi Yan Zheng Qi , Zi Ding Yi Xiao Xi , Zi Duan Fan Yi .

    Go 1.1k 125

  2. goutil goutil Public

    Helper Utils(900+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. Go Chang Yong De Gong Ju Han Shu :Shu Zi ,Zi Fu Chuan ,Shu Zu ,Map,...

    Go 2.3k 200

  3. color color Public

    Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI Kong Zhi Tai Yan Se Xuan Ran Gong Ju Ku ,Zhi Chi 16Se ,256Se ,RGBSe Cai Xuan Ran Shu Chu ,Shi Yong Lei Si Yu ...

    Go 1.6k 87

  4. config config Public

    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. GoYing Yong Pei Zhi Jia Zai Guan Li ,Zhi Chi Duo Chong Ge Shi ,Duo Wen Jian Jia Zai ,Yuan Cheng Wen Jian Jia Zai ,Zhi Chi ...

    Go 578 59

  5. slog slog Public

    Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.Yi Ge Yi Yu Shi Yong De ,Qing Liang Ji , Ke Pei Zhi , Ke Kuo Zhan De Ri Zhi ...

    Go 535 32

  6. gcli gcli Public

    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. GoDe Ming Ling Xing Ying ...

    Go 375 40

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
Showing 10 of 35 repositories
  • properties Public

    Java Properties format contents parse, marshal and unmarshal library. Java Properties Ge Shi Nei Rong De Jie Xi Qi ,Bian Ma Jie Ma Ku

    gookit/properties's past year of commit activity
    Go 12 MIT 0 0 0 Updated Feb 21, 2026
  • greq Public

    greq is a HTTP client request builder and sender. supports download, retry, batch, .http file and more

    gookit/greq's past year of commit activity
    Go 5 MIT 0 1 0 Updated Feb 21, 2026
  • cache Public

    Generic cache use and cache manage. Provide a unified usage API by packaging various commonly used drivers. Support File, Memory, Redis, Memcached and more. Go Tong Yong De Huan Cun Shi Yong Ku ,Tong Guo Bao Zhuang Ge Chong Chang Yong De Qu Dong ,Lai Ti Gong Tong Yi De Shi Yong API,Bian Yu Shi Yong .

    gookit/cache's past year of commit activity
    Go 199 MIT 19 3 1 Updated Feb 16, 2026
  • color Public

    Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI Kong Zhi Tai Yan Se Xuan Ran Gong Ju Ku ,Zhi Chi 16Se ,256Se ,RGBSe Cai Xuan Ran Shu Chu ,Shi Yong Lei Si Yu Print/Sprintf,Jian Rong Bing Zhi Chi Windows Huan Jing De Se Cai Xuan Ran

    gookit/color's past year of commit activity
    Go 1,573 MIT 87 2 2 Updated Feb 9, 2026
  • validate Public

    Go package for data validation and filtering. support Map, Struct, Form data. GoTong Yong De Shu Ju Yan Zheng Yu Guo Lu Ku ,Shi Yong Jian Dan ,Nei Zhi Da Bu Fen Chang Yong Yan Zheng , Guo Lu Qi ,Zhi Chi Zi Ding Yi Yan Zheng Qi , Zi Ding Yi Xiao Xi , Zi Duan Fan Yi .

    gookit/validate's past year of commit activity
    Go 1,125 MIT 125 27 (3 issues need help) 2 Updated Feb 7, 2026
  • ext Public

    provides some commonly used toolkit packages with usage scenarios

    gookit/ext's past year of commit activity
    Go 1 MIT 0 0 0 Updated Feb 5, 2026
  • goutil Public

    Helper Utils(900+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. Go Chang Yong De Gong Ju Han Shu :Shu Zi ,Zi Fu Chuan ,Shu Zu ,Map,Jie Gou Ti ,Fan She ,Wen Ben ,Wen Jian ,Cuo Wu ,Shi Jian Ri Qi ,Te Shu Chu Li ,Ge Shi Hua ,Chang Yong Xin Xi Huo Qu Deng Deng

    gookit/goutil's past year of commit activity
    Go 2,341 MIT 200 1 5 Updated Jan 31, 2026
  • miglite Public

    miglite is a simplified database schema migration tool. Golang Shi Xian De Ji Jian De Shu Ju Ku Schema Qian Yi Gong Ju ,Wu San Fang DBQu Dong Yi Lai .

    gookit/miglite's past year of commit activity
    Go 6 MIT 0 0 0 Updated Jan 30, 2026
  • skills Public

    AI agent skills for gookit projects

    gookit/skills's past year of commit activity
    1 0 0 0 Updated Jan 29, 2026
  • ini Public

    Go INI config management. support multi file load, data override merge. parse ENV variable, parse variable reference. Dotenv file parse and loader. INIPei Zhi Du Qu Guan Li ,Zhi Chi Duo Wen Jian Jia Zai ,Shu Ju Fu Gai He Bing , Jie Xi ENVBian Liang , Jie Xi Bian Liang Yin Yong . DotEnv Jie Xi Jia Zai

    gookit/ini's past year of commit activity
    Go 87 MIT 16 0 0 Updated Jan 14, 2026