Fixed doc code formatting.

This commit is contained in:
mikestefanello 2024-06-22 10:38:57 -04:00
parent 62c53a6b4d
commit 6da0fcb7be

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