GoLiteKit
GoLiteKit: A concise and lightweight Go language framework for rapid development of web applications.
Install / Use
/learn @hansir-hsj/GoLiteKitREADME
GoLiteKit
A concise and lightweight Go language framework for rapid development of web applications.
- Implement routing function based on 'go 1.22 http.ServeMux'
- Implement the
contextinterface to pass request context. - Provide a
BaseControllerbase class to simplify controller development. - Encapsulate a logging library based on official library
slog:- Support log levels and custom log formats.
- Support
AddXXXmethods. - Use
contextto passField, which can be used across multiple goroutines. - Support log rotation, customizable by file size, time, and line count.
- Support middleware. Here are some built - in middleware:
- Logging middleware
- Timeout middleware
- Request tracking middleware
- Rate - limiting middleware based on
golang.org/x/time/rate
- Integrate gorm and go-redis framework
- Provide a command-line tool glk to facilitate the quick creation of applications. Please use
go install github.com/hansir-hsj/GoLiteKit/glk@latestto install it.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
