Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/mainframe. my mainframe.
Something went wrong. Try again.
123456789101112131415161718192021package pottytrainer
import ( "context" "time"
"github.com/google/uuid" "twos.dev/mainframe/ddb")
func LogPoop(ctx context.Context, db *ddb.Client, userID string, poopedAt time.Time, bad bool) error { db.Poops.Put(&ddb.Poop{ ID: uuid.New().String(), UserID: "test", PoopedAt: poopedAt, CreatedAt: time.Now(), UpdatedAt: time.Now(), }).Run() return nil}