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>
10 lines
134 B
Go
10 lines
134 B
Go
package internalapi
|
|
|
|
type WazeroOnly interface {
|
|
wazeroOnly()
|
|
}
|
|
|
|
type WazeroOnlyType struct{}
|
|
|
|
func (WazeroOnlyType) wazeroOnly() {}
|