enbas/main.go

21 lines
380 B
Go
Raw Normal View History

2024-02-19 12:39:01 +00:00
package main
2024-02-19 15:06:25 +00:00
import (
"fmt"
2024-02-20 12:33:23 +00:00
"os"
)
2024-02-19 15:06:25 +00:00
const (
2024-02-20 12:33:23 +00:00
applicationName = "enbas"
applicationWebsite = "https://codeflow.dananglin.me.uk/apollo/enbas"
redirectUri = "urn:ietf:wg:oauth:2.0:oob"
userAgent = "Enbas/0.0.0"
2024-02-19 15:06:25 +00:00
)
2024-02-20 12:33:23 +00:00
func main() {
if err := loginWithOauth2(); err != nil {
fmt.Printf("ERROR: Unable to register the application; %v\n", err)
os.Exit(1)
}
}