bigtable

command module
v0.0.0-...-76fc54f Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 10 Imported by: 0

README

Bigtable

Prerequisite

Install Go Packages
go mod tidy
Setup local bigtable emulator

Follow the official references to set up the Emulator and optionally install the cbt-tool.

Local Development

Make sure the BIGTABLE_EMULATOR_HOST environment variable is set. If not, run $(gcloud beta emulators bigtable env-init) after setup the emulator.

Create a file named .env and write the following content into it

PROJECT_ID=my-project
INSTANCE_ID=my-instance
TABLE_NAME=vaccine-reservation-system
Database seeding

Run the following command to setup the database.

go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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