Skip to content

Commit

Permalink
style(fmt): task fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoksr committed Jul 29, 2024
1 parent bb7ab8d commit 2efc7ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions examples/complex/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ func main() {
},
).
WithTransformer(func(c *SmartHomeConfig) {

// Example transformation: Set all lights to 20% brightness if EnergyMode is "saving"

if c.General.EnergyMode != "saving" {
Expand All @@ -141,7 +140,6 @@ func main() {
}
}).
Build()

if err != nil {
fmt.Printf("Error processing config: %v\n", err)
return
Expand Down
1 change: 0 additions & 1 deletion examples/simple/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ func main() {
return nil
}).
Build()

if err != nil {
log.Fatalf("Error processing pizza order: %v", err)
}
Expand Down

0 comments on commit 2efc7ce

Please sign in to comment.