Fixed doc code formatting.
This commit is contained in:
parent
a096abd195
commit
be997e53d8
1 changed files with 2 additions and 2 deletions
|
|
@ -1009,11 +1009,11 @@ A queue starts by declaring a `Task` _type_, which is the object that gets place
|
||||||
```go
|
```go
|
||||||
type MyTask struct {
|
type MyTask struct {
|
||||||
Text string
|
Text string
|
||||||
Num int
|
Num int
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t MyTask) Name() string {
|
func (t MyTask) Name() string {
|
||||||
return "my_task"
|
return "my_task"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue