Skip to content

Instantly share code, notes, and snippets.

View stephen-soltesz's full-sized avatar

Stephen Soltesz stephen-soltesz

View GitHub Profile
@stephen-soltesz
stephen-soltesz / README
Last active October 29, 2019 03:40
reflect / schema
git clone https://gist.github.com/stephen-soltesz/fd52e5633563e9f652f83606cfdeb526 reflect-schema
cd reflect-schema/
go get .
@stephen-soltesz
stephen-soltesz / main.go
Last active December 3, 2019 04:57
Example usage of logx.Loggers() and logx.Setup()
import (
"flag"
"log"
"github.com/m-lab/go/flagx"
"github.com/m-lab/go/logx"
"github.com/m-lab/go/rtx"
)
package main
import (
"fmt"
"time"
"cloud.google.com/go/civil"
"github.com/m-lab/go/rtx"
)
@stephen-soltesz
stephen-soltesz / main.go
Created April 11, 2022 20:58
Example updating BigQuery view or table descriptions using an M-Lab YAML description file.
package main
import (
"context"
"flag"
"io/ioutil"
"cloud.google.com/go/bigquery"
"github.com/m-lab/go/cloud/bqx"