mirror of
https://github.com/walles/moar.git
synced 2024-11-13 11:14:30 +03:00
Tune embedding example
This commit is contained in:
parent
2b18347022
commit
0ea058db7c
@ -91,10 +91,12 @@ func main() {
|
||||
buf := bytes.Buffer{}
|
||||
fmt.Fprintln(&buf, "March")
|
||||
fmt.Fprintln(&buf, "April")
|
||||
|
||||
name := "Months"
|
||||
e := m.Page(m.NewReaderFromStream(&name, &buf))
|
||||
if e != nil {
|
||||
panic(e)
|
||||
err := m.Page(m.NewReaderFromStream(&name, &buf))
|
||||
if err != nil {
|
||||
// Handle paging problems
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user