Skip to content

Commit 8a7c5a7

Browse files
committed
go fmt
Signed-off-by: Simon Waldherr <[email protected]>
1 parent 7219301 commit 8a7c5a7

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

non-std-lib/markdown.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package main
33
import (
44
"fmt"
55
"io/ioutil"
6+
67
mmd "simonwaldherr.de/go/micromarkdownGo"
78
)
89

tinygo/blink.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
package main
22

33
import (
4-
"machine"
5-
"time"
4+
"machine"
5+
"time"
66
)
77

88
func main() {
9-
led := machine.Pin(25) // Use Pin 19 on Pico W
10-
led.Configure(machine.PinConfig{Mode: machine.PinOutput})
9+
led := machine.Pin(25) // Use Pin 19 on Pico W
10+
led.Configure(machine.PinConfig{Mode: machine.PinOutput})
1111

12-
for {
13-
led.High()
14-
time.Sleep(time.Millisecond * 500)
15-
led.Low()
16-
time.Sleep(time.Millisecond * 500)
17-
}
12+
for {
13+
led.High()
14+
time.Sleep(time.Millisecond * 500)
15+
led.Low()
16+
time.Sleep(time.Millisecond * 500)
17+
}
1818
}

0 commit comments

Comments
 (0)