style: fix whitespace and wsl_v5 linting issues

- Remove unnecessary trailing/leading whitespace
- Add missing whitespace above return statements, if statements, and loops
- Fix whitespace around variable declarations and assignments
- Improve code readability by following Go whitespace conventions
- Maintain functionality while improving code style consistency

Addresses majority of wsl_v5 and whitespace linting rules.
This commit is contained in:
Tobias Gesellchen
2026-02-01 21:56:13 +01:00
parent 7f6eccee39
commit a74dc96e50
11 changed files with 40 additions and 10 deletions
-1
View File
@@ -288,7 +288,6 @@ func ExampleClient_GetCapabilities() {
func ExampleClient_GetSupportedURLs_concept() {
// Example of how to use GetSupportedURLs() method
// Note: This example shows the concept but doesn't execute to avoid requiring a real device
config := &client.Config{Host: "192.168.1.100"}
c := client.NewClient(config)