memebridge

package module
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 25 Imported by: 1

README

memebridge

Go Reference

memebridge is a Go package to convert between memefish/ast.Type and spannerpb.Type, and to convert memefish expressions into cloud.google.com/go/spanner.GenericColumnValue.

The cliparams subpackage converts CLI-style query parameter assignments (name:value flags or already-split maps) into spanner.GenericColumnValue maps. It is shared by spanner-mycli and execspansql.

Compatibility

  • memebridge v0.5.0 requires github.com/apstndb/spanvalue v0.2.x.
  • memebridge v0.6.0 requires github.com/apstndb/spanvalue v0.3.x.
  • memebridge v0.6.2 and later require Go 1.24+, github.com/apstndb/spanvalue v0.8.x, and github.com/cloudspannerecosystem/memefish v0.7.x.

Temporal casts use Cloud Spanner's default time zone, America/Los_Angeles. By default, memebridge relies on the runtime's system zoneinfo; build with the memebridge_tzdata tag to embed Go's IANA tzdata for minimal runtimes that do not provide zoneinfo.

Directories

Path Synopsis
Package cliparams converts CLI-style query parameter assignments ("name:value" arguments or already-split name→value maps) into cloud.google.com/go/spanner.GenericColumnValue maps, using memefish literal parsing via github.com/apstndb/memebridge.
Package cliparams converts CLI-style query parameter assignments ("name:value" arguments or already-split name→value maps) into cloud.google.com/go/spanner.GenericColumnValue maps, using memefish literal parsing via github.com/apstndb/memebridge.

Jump to

Keyboard shortcuts

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