starter

command module
v0.0.0-...-fc7a307 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

README

Starter

Go Reference Go Report Card

特征

  • 提供 gin 框架项目模版
  • 集成 GORM 进行 ORM 映射和数据库操作
  • 集成 Viper 进行配置管理
  • 提供常用 gin 中间件和工具
    • 跨域中间件:处理 API 跨域请求,实现 CORS 支持
    • jwt 解析中间件:从请求中解析并验证 JWT Token,用于 API 身份认证

快速开始

go install github.com/go-eagle/eagle/cmd/eagle@latest
eagle new <project name> -r https://github.com/limitcool/starter -b main

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common
internal
dto
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL