initial commit
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"log/slog"
|
||||
"nats-app/internal/app"
|
||||
)
|
||||
|
||||
func main() {
|
||||
environment := flag.String("env", "dev", "dev or prod")
|
||||
flag.Parse()
|
||||
|
||||
_ = app.NewApp(*environment)
|
||||
|
||||
slog.Debug("hello world debug")
|
||||
slog.Info("Hello world info")
|
||||
slog.Warn("Hello world warn")
|
||||
slog.Error("hello world error")
|
||||
}
|
||||
Reference in New Issue
Block a user