Use flags or config file instead of hardcoded defaults
Open
go
good first issue
hacktoberfest
websocket
- Dominant language
- Go
- Stars
- 6
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### ⚙️ Use Flags or Config Instead of Hardcoded Defaults
In `main.go`, values like:
```go
port := "8080"
target := "World"
```
...are hardcoded. These should come from:
* Command-line flags (`flag.String(...)`)
* Or `.env` / config file using a lib like `spf13/viper`
Contributor guide
Assessment
This issue has not been assessed yet.