Files
wazero/internal/internalapi/internal.go
Nuno Cruces 197facf7a9 Close certain api interfaces for external implementation (#1396)
This adds a new type `internalapi.WazeroOnly` which should be embedded on types users are likely to accidentally implement despite docs saying otherwise.

Signed-off-by: Nuno Cruces <ncruces@users.noreply.github.com>
2023-04-28 15:32:32 +08:00

10 lines
134 B
Go

package internalapi
type WazeroOnly interface {
wazeroOnly()
}
type WazeroOnlyType struct{}
func (WazeroOnlyType) wazeroOnly() {}