Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions cmd/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,9 @@ import (
// @host localhost:8080
// @BasePath /

// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Autorization

// Данные, которые будем отдавать в JSON
type Response struct {
Message string `json:"message"`
Status int `json:"status"`
}
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Autorization

func main() {
handlers := new(handler.Handler)
Expand Down