diff options
| author | kboz <kutayboz@gmail.com> | 2026-09-27 22:36:34 +0200 |
|---|---|---|
| committer | kboz <kutayboz@gmail.com> | 2026-09-27 22:36:34 +0200 |
| commit | 1b59961ce2385252e3346ea6107b15a2c1feafe6 (patch) | |
| tree | fbe9e0cb968c47cff353e937e4dc835a64058c60 /backend-go/fix_newline.py | |
| parent | 29c4b57db9a34e0f815d93cac6a2cae543778a93 (diff) | |
| download | haul-1b59961ce2385252e3346ea6107b15a2c1feafe6.tar.gz | |
feat(backend): port route-planning backend to Go
Add a Go implementation mirroring the Python pipeline (loader, graph,
pathfinder, arbitrage, market, route, manager) under internal/core, with
ESI client/API integration and setup endpoints. Reuses backend/src as
the working directory so existing data/cache paths keep working.
Diffstat (limited to 'backend-go/fix_newline.py')
| -rw-r--r-- | backend-go/fix_newline.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backend-go/fix_newline.py b/backend-go/fix_newline.py new file mode 100644 index 0000000..bf9b457 --- /dev/null +++ b/backend-go/fix_newline.py @@ -0,0 +1,8 @@ +import re +with open('/home/kboz/eve_haul/backend-go/cmd/eve_haul_go/main.go', 'r') as f: + t = f.read() + +t = re.sub(r'log\.Println\("\nShutting down server gracefully\.\.\."\)', r'log.Println("Shutting down server gracefully...")', t) + +with open('/home/kboz/eve_haul/backend-go/cmd/eve_haul_go/main.go', 'w') as f: + f.write(t) |
