xepobopa
HOBBYOP
10 months ago
Hello! Im deploying a GoLang service on railway app (im using Hobby plan). It deploys well, but it log just the first line and then do nothing
main.go
package main
import (
"context"
"fmt"
"Collector/internal/mexc"
)
func main() {
fmt.Println("🚀 Starting Collector...")
mexc.Run(context.Background())
}I have a lot of logic inside Run function and planty logs, but i get only 🚀 Starting Collector... log and nothing more, no errors and logs.
I do not why it do not exec my code.
I also tested it by adding logs to Run func, but thay didnot exec too.
Maybe someone know how to fix it?
Full code of mexc.Run is here -> https://github.com/Lazy-Parser/Collector/blob/main/internal/mexc/main.go