package
0.5.0
Repository: https://github.com/qri-io/starlib.git
Documentation: pkg.go.dev

# Packages

Package replacecr defines a wrapper for replacing solo carriage return characters (\r) with carriage-return + line feed (\r\n).

# Functions

IsEmptyString checks is a starlark string is empty ("" for a go string) starlark.String.String performs repr-style quotation, which is necessary for the starlark.Value contract but a frequent source of errors in API clients.
Marshal turns go values into starlark types.
Unmarshal decodes a starlark.Value into it's golang counterpart.

# Interfaces

Marshaler is the interface use to marshal starlark custom types.
Unmarshaler is the interface use to unmarshal starlark custom types.