Move documentation comment to correct function

master
HimbeerserverDE 2022-03-13 10:54:46 +01:00 committed by GitHub
parent 6eb4574df4
commit c0fa23af5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
run.go
View File

@ -12,12 +12,12 @@ import (
var runOnce sync.Once
// Run initializes the proxy and starts the main listener loop.
// It blocks forever.
func Run() {
runOnce.Do(runFunc)
}
// Run initializes the proxy and starts the main listener loop.
// It blocks forever.
func runFunc() {
if err := LoadConfig(); err != nil {
log.Fatal(err)