mirror of https://github.com/fluffle/goirc
Syntax highlighting for source code in README.md
Markdown knows about golang, so use the source (formatting) luke
This commit is contained in:
parent
6277eb6e2d
commit
0b121522bb
|
@ -15,7 +15,7 @@ old `go1` API.
|
|||
### Using the framework
|
||||
|
||||
Synopsis:
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
|
@ -62,6 +62,7 @@ Synopsis:
|
|||
// Wait for disconnect
|
||||
<-quit
|
||||
}
|
||||
```
|
||||
|
||||
The test client provides a good (if basic) example of how to use the framework.
|
||||
Reading `client/handlers.go` gives a more in-depth look at how handlers can be
|
||||
|
|
Loading…
Reference in New Issue