-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.go
More file actions
32 lines (23 loc) · 697 Bytes
/
Copy pathmain.go
File metadata and controls
32 lines (23 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package main
import (
"log"
_ "github.com/AYDEV-FR/ISEN-Api/docs"
"github.com/AYDEV-FR/ISEN-Api/pkg/api"
)
// @title ISEN-API
// @version 0.0.6
// @description REST API scrapping the webaurion website from ISEN Méditerranée
// @contact.name GitHub
// @contact.url https://github.com/AYDEV-FR/ISEN-API
// @license.name MIT License
// @license.url https://github.com/AYDEV-FR/ISEN-API/blob/main/LICENSE
// @BasePath /v1
// @securitydefinitions.apikey ApiKeyAuth
// @in header
// @name Token
// @description Token from ISEN webaurion to access all the user's data
func main() {
log.Printf("Server started")
router := api.NewRouter()
log.Fatal(router.Run(":8080"))
}