summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-03-17 13:13:01 +0300
committerGrailFinder <wohilas@gmail.com>2024-03-17 13:13:01 +0300
commit33db3abdadd6687eb16305014c70654e03168fe5 (patch)
tree62b8f8766b896227fdc9ce15c0cac8530ced3099 /main.go
init
Diffstat (limited to 'main.go')
-rw-r--r--main.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..10c7fee
--- /dev/null
+++ b/main.go
@@ -0,0 +1,14 @@
+package main
+
+import (
+ "runtime"
+ "apjournal/cmd"
+)
+
+func init() {
+ runtime.GOMAXPROCS(runtime.NumCPU())
+}
+
+func main() {
+ cmd.Execute()
+}