rules

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: 0BSD Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

A script: ordinary Go that the host compiles and runs inside EVM.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Describe

func Describe(c *m.Customer, now time.Time) string

Describe reads a customer. Package m comes from the KVO schema: each model is a type and each property is a field. The same code runs on a Go struct and on an encoded row.

func Redeem

func Redeem(c *m.CustomerEdit, points int64) bool

Redeem edits a customer. The host decides what an edit means: here it writes to the Go struct or builds a new row.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL