diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-06 01:55:21 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-06 02:08:58 +0800 |
commit | faa5ca8fab23176d390e9522f1485d467851545b (patch) | |
tree | d3b1d081e0ea5e7f71a94dc1d301e2540a8abcc8 /cmd | |
parent | Slight refactor on NewServer (diff) | |
download | forge-d0b51bf88914c72ad8405c1dfccd7ada12bfeaf8.tar.gz forge-d0b51bf88914c72ad8405c1dfccd7ada12bfeaf8.tar.zst forge-d0b51bf88914c72ad8405c1dfccd7ada12bfeaf8.zip |
Move stuff into internal/unsortedv0.1.28
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/forge/main.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cmd/forge/main.go b/cmd/forge/main.go index 07a9bfd..5a23947 100644 --- a/cmd/forge/main.go +++ b/cmd/forge/main.go @@ -6,7 +6,7 @@ package main import ( "flag" - "go.lindenii.runxiyu.org/forge" + "go.lindenii.runxiyu.org/forge/internal/unsorted" ) func main() { @@ -17,7 +17,10 @@ func main() { ) flag.Parse() - s := forge.NewServer(*configPath) + s, err := unsorted.NewServer(*configPath) + if err != nil { + panic(err) + } - s.Run() + panic(s.Run()) } |