### 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:
5
main.go
5
main.go
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user