Use highlighting for Go code (it was there on the previous wiki).

Dmitri Shuralyov 2015-01-04 21:07:59 -08:00
parent b08328e655
commit 47f767af94

@ -9,7 +9,7 @@ to use correctly.
Russ Cox presented a good solution for this problem in this [thread](https://groups.google.com/d/msg/golang-nuts/IiWZ2hUuLDA/SNKYYZBelsYJ).
```
```Go
package sdl
// Arrange that main.main runs on main thread.
@ -42,7 +42,8 @@ func do(f func()) {
```
And then other functions you write in package sdl can be like
```
```Go
func Beep() {
do(func() {
// whatever must run in main thread