module
0.0.0-20210527194909-dde45b7cbe97
Repository: https://github.com/intiluha/grpcsandbox.git
Documentation: pkg.go.dev
# README
grpcSandbox
Learning gRPC
In order to use, set enviromental variables
export GRPC_SANDBOX_ROLE=role
export GRPC_SANDBOX_PASSWORD=pass
export GRPC_SANDBOX_DB_NAME=database
...and create the following tables
create table users
(
id uuid default gen_random_uuid() primary key,
name text not null,
age smallint not null,
type smallint not null,
created_at timestamp not null,
updated_at timestamp not null
);
create table items
(
id uuid default gen_random_uuid() primary key,
name text not null,
user_id uuid not null references users (id) on delete cascade,
created_at timestamp not null,
updated_at timestamp not null
);