mirror of https://github.com/fluffle/goirc
Merge pull request #84 from bob-smith/patch-2
Syntax highlighting for source code in README.md
This commit is contained in:
commit
19d79b5351
|
@ -15,7 +15,7 @@ old `go1` API.
|
||||||
### Using the framework
|
### Using the framework
|
||||||
|
|
||||||
Synopsis:
|
Synopsis:
|
||||||
|
```go
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -62,6 +62,7 @@ Synopsis:
|
||||||
// Wait for disconnect
|
// Wait for disconnect
|
||||||
<-quit
|
<-quit
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
The test client provides a good (if basic) example of how to use the framework.
|
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
|
Reading `client/handlers.go` gives a more in-depth look at how handlers can be
|
||||||
|
|
Loading…
Reference in New Issue