Fixed doc code formatting.

This commit is contained in:
mikestefanello 2024-06-22 10:38:57 -04:00
parent a096abd195
commit be997e53d8

View file

@ -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"
} }
``` ```