Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
koddr committed Jul 11, 2020
1 parent 4823e41 commit b608678
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
)

func main() {
// Parse config path from environment variable
// Parse config path from environment variable.
configPath := apiserver.GetEnv("CONFIG_PATH", "configs/apiserver.yml")

// Create new config
// Create new config.
config, err := apiserver.NewConfig(configPath)
apiserver.ErrChecker(err)

// Create new server
// Create new server.
server := apiserver.NewServer(config).Start()

// Create channel for idle connections.
Expand Down

0 comments on commit b608678

Please sign in to comment.