18 lines
269 B
Go
18 lines
269 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"messenger/src/backend/commands"
|
|
)
|
|
|
|
func main() {
|
|
if err := commands.Run(os.Args[1:]); err != nil {
|
|
if len(os.Args) > 1 && (os.Args[1] == "image-process" || os.Args[1] == "healthcheck") {
|
|
os.Exit(1)
|
|
}
|
|
log.Fatal(err)
|
|
}
|
|
}
|