Fixed doc code formatting.
This commit is contained in:
parent
62c53a6b4d
commit
6da0fcb7be
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
|
||||
type MyTask struct {
|
||||
Text string
|
||||
Num int
|
||||
Num int
|
||||
}
|
||||
|
||||
func (t MyTask) Name() string {
|
||||
return "my_task"
|
||||
return "my_task"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue