MCPcopy Index your code
hub / github.com/gin-gonic/examples

github.com/gin-gonic/examples @main

repository ↗ · DeepWiki ↗ · Ask this repo → · + Follow
174 symbols 436 edges 59 files 31 documented · 18% updated 9d ago★ 4,54715 open issues
README

Gin Examples

Trivy Security Scan golangci-lint

This repository contains a number of ready-to-run examples demonstrating various use cases of Gin.

Refer to the Gin documentation for how to execute the example tutorials.

Contributing

Are you missing an example? Please feel free to open an issue or commit one pull request.

Please see CONTRIBUTING.md for instructions on how to contribute.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

run
called by 7
realtime-chat/rooms.go
setupRouter
called by 4
upload-file/limit-bytes/main.go
room
called by 3
realtime-advanced/rooms.go
room
called by 3
realtime-chat/rooms.go
Submit
called by 3
realtime-chat/rooms.go
setupRouter
called by 2
ace-template/main.go
setupRouter
called by 2
basic/main.go
addPingRoutes
called by 2
group-routes/routes/ping.go

Shape

Function 123
Method 32
Struct 15
Interface 3
TypeAlias 1

Languages

Go91%
TypeScript9%

Modules by API surface

grpc/example1/gen/helloworld/v1/helloworld.pb.go18 symbols
grpc/example1/gen/helloworld/v1/helloworld_grpc.pb.go16 symbols
realtime-chat/rooms.go13 symbols
realtime-advanced/resources/static/realtime.js11 symbols
server-sent-event/main.go7 symbols
realtime-chat/main.go5 symbols
realtime-advanced/routes.go5 symbols
realtime-advanced/resources/static/epoch.min.js5 symbols
versioning/main.go4 symbols
upload-file/limit-bytes/main_test.go4 symbols
struct-lvl-validations/server.go4 symbols
realtime-advanced/main.go4 symbols

Dependencies from manifests, versioned

github.com/benbjohnson/clockv1.3.5 · 1×
github.com/cespare/xxhash/v2v2.3.0 · 1×
github.com/cloudwego/base64xv0.1.5 · 1×
github.com/dustin/go-broadcastv0.0.0-2021101805510 · 1×
github.com/gin-contrib/ssev1.1.0 · 1×
github.com/gin-contrib/staticv1.1.5 · 1×
github.com/gin-gonic/autotlsv1.1.2 · 1×

For agents

$ claude mcp add examples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact