tangled
alpha
login
or
join now
voigt.tngl.sh
/
jj-git-demo
1
fork
atom
A description on a git compatible jj-vcs workflow.
1
fork
atom
overview
issues
pulls
1
pipelines
add rectangle function
voigt.tngl.sh
2 months ago
c279cbdf
09786aa8
+14
1 changed file
expand all
collapse all
unified
split
main.go
+14
main.go
···
14
14
func render() {
15
15
firefly.ClearScreen(firefly.ColorWhite)
16
16
addCircle()
17
17
+
addRectangle()
17
18
}
18
19
19
20
// adding a circle
···
28
29
},
29
30
)
30
31
}
32
32
+
33
33
+
// beautiful comment
34
34
+
func addRectangle() {
35
35
+
firefly.DrawRect(
36
36
+
firefly.Point{X: 120, Y: 10},
37
37
+
firefly.Size{W: 40, H: 40},
38
38
+
firefly.Style{
39
39
+
FillColor: firefly.ColorDarkBlue,
40
40
+
StrokeColor: firefly.ColorBlue,
41
41
+
StrokeWidth: 1,
42
42
+
},
43
43
+
)
44
44
+
}