mirror of
https://github.com/pinpox/gitea-matrix-bot
synced 2024-11-23 04:41:58 +01:00
Update main.go
This commit is contained in:
parent
44e94e7cd0
commit
b7999ee718
11
main.go
11
main.go
@ -10,17 +10,6 @@ import (
|
|||||||
|
|
||||||
// import "net/http"
|
// import "net/http"
|
||||||
|
|
||||||
//TODO get this vals from config file
|
|
||||||
// var (
|
|
||||||
// flagPort is the open port the application listens on
|
|
||||||
// flagPort = flag.String("port", "9000", "Port to listen on")
|
|
||||||
// matrixPass = "oSaiNahqu5ahF5jieBe2UKok"
|
|
||||||
// matrixUser = "reminder-bot"
|
|
||||||
// matrixHost = "http://matrix.org"
|
|
||||||
|
|
||||||
// postURI = "/post"
|
|
||||||
// )
|
|
||||||
|
|
||||||
var cfg *ini.File
|
var cfg *ini.File
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user