gin-example

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 1 Imported by: 0

README

gin-example

Build

make build

Run

Complete Example
./app complate

Routes:

  • /: Success
  • /user: Request with validation and validation error translations
  • /panic: Test panic error recovery
  • /panic-recovery: Test new goroutine panic error recovery
  • /no-translate: Test the log of no translation msgID
  • /err-test: Test errcode response and error translations
  • /err-unknown: Test unknown error(no errcode assigned) response and error translations
  • /check-admin: Test request body fetch in log and Sentry
  • /long-time: Test timeout middleware
  • /rate-limit: Test ratelimit middleware
  • /update-log-lvl: Runtime update log level
  • /log: Test runtime update log level

Documentation

Overview

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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