This commit is contained in:
2026-03-06 20:46:23 +00:00
parent 33208a2356
commit 36e917b768
6 changed files with 6 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ In this case, you will need to write the function stub yourself.
```go
package ext
import "github.com/mmcloughlin/avo/examples/ext/ext"
import "sources.truenas.cloud/code/avo/examples/ext/ext"
// StructFieldB returns field B.
func StructFieldB(e ext.Struct) byte
@@ -18,7 +18,7 @@ Then in place of the usual `TEXT` declaration we use `Implement` to state that w
[embedmd]:# (asm.go go /.*Package.*/ /RET.*/)
```go
Package("github.com/mmcloughlin/avo/examples/ext")
Package("sources.truenas.cloud/code/avo/examples/ext")
Implement("StructFieldB")
b := Load(Param("e").Field("B"), GP8())
Store(b, ReturnIndex(0))