init project
Some checks failed
CI / build (push) Failing after 8m49s

This commit is contained in:
2025-11-13 16:53:08 +08:00
commit 937a3cea60
25 changed files with 1858 additions and 0 deletions

42
docs/docs.go Normal file
View File

@@ -0,0 +1,42 @@
// Package docs GENERATED BY SWAG; DO NOT EDIT
// This file was generated by swaggo/swag
package docs
import "github.com/swaggo/swag"
const docTemplate = `{
"schemes": {{ marshal .Schemes }},
"swagger": "2.0",
"info": {
"description": "{{escape .Description}}",
"title": "{{.Title}}",
"contact": {},
"version": "{{.Version}}"
},
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {},
"securityDefinitions": {
"Bearer": {
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}`
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "0.0.1",
Host: "",
BasePath: "",
Schemes: []string{},
Title: "service-http API",
Description: "service-http接口文档",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
}
func init() {
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}

17
docs/swagger.json Normal file
View File

@@ -0,0 +1,17 @@
{
"swagger": "2.0",
"info": {
"description": "service-http接口文档",
"title": "service-http API",
"contact": {},
"version": "0.0.1"
},
"paths": {},
"securityDefinitions": {
"Bearer": {
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}

12
docs/swagger.yaml Normal file
View File

@@ -0,0 +1,12 @@
info:
contact: {}
description: service-http接口文档
title: service-http API
version: 0.0.1
paths: {}
securityDefinitions:
Bearer:
in: header
name: Authorization
type: apiKey
swagger: "2.0"