### Commit Message

Update .gitignore and refactor main.go, pkg/app/main.go

### Modified Files
- **.gitignore**
  - Added `.idea/material_theme_project_new.xml` and `.idea/orly.iml` to be ignored.

- **main.go**
  - Moved `os` import to the top.
  - Adjusted the order of imports for better readability.
  - Commented out the unused `profile` import.

- **pkg/app/main.go**
  - Added detailed comments for types and methods in the `Relay` struct.
  - Reorganized method descriptions for clarity.
  - Ensured consistent documentation style throughout the file.
This commit is contained in:
2025-07-17 22:26:08 +01:00
parent 4ee09ada17
commit ae0d4f5b68
3 changed files with 93 additions and 27 deletions

View File

@@ -5,9 +5,11 @@ package main
import (
"fmt"
"github.com/pkg/profile"
"net/http"
_ "net/http/pprof"
"os"
"github.com/pkg/profile"
app2 "orly.dev/pkg/app"
"orly.dev/pkg/app/config"
"orly.dev/pkg/app/relay"
@@ -19,7 +21,6 @@ import (
"orly.dev/pkg/utils/log"
"orly.dev/pkg/utils/lol"
"orly.dev/pkg/version"
"os"
)
func main() {