forked from kiwifs/kiwifs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
36 lines (27 loc) · 786 Bytes
/
main.go
File metadata and controls
36 lines (27 loc) · 786 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
33
34
35
36
package main
//go:generate swag init
// @title KiwiFS API
// @version 1.0
// @description KiwiFS is a content-addressable file system with an API.
// @host localhost:3333
// @BasePath /
// @schemes http https
// @contact.name KiwiFS Support
// @contact.url https://github.com/kiwifs/kiwifs
// @license.name Business Source License 1.1
// @license.url https://github.com/kiwifs/kiwifs/blob/main/LICENSE
// @securityDefinitions.apikey BearerAuth
// @in header
// @name Authorization
// @description Type "Bearer " followed by your API key.
import (
"github.com/kiwifs/kiwifs/cmd"
)
// Version is set via ldflags during build.
var version = "dev"
func init() {
cmd.Version = version
}
func main() {
cmd.Execute()
}