22 lines
473 B
Go
22 lines
473 B
Go
package main
|
|
|
|
import (
|
|
"iptables-helper/cmd/service"
|
|
_ "iptables-helper/pkg/logger"
|
|
"time"
|
|
)
|
|
|
|
// @title iptables-helper API
|
|
// @version 1.0
|
|
// @description iptables-helper 的 swagger
|
|
// @termsOfService http://swagger.io/terms/
|
|
// @contact.name Shikong
|
|
// @contact.email 919411476@qq.com
|
|
// @license.name Apache 2.0
|
|
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
|
|
// @BasePath /
|
|
func main() {
|
|
_, _ = time.LoadLocation("Asia/Shanghai")
|
|
service.Main()
|
|
}
|