From 0cdc7a2e84ac5c460569a26a1dd8e3070cea487e Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Mon, 22 Jan 2024 21:30:19 -0500 Subject: add posts table migration, add sqlboiler post model, post routes: create, store, get, post create ui template, remove email from user create route --- go.mod | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index df22072..f23933d 100644 --- a/go.mod +++ b/go.mod @@ -6,12 +6,13 @@ require ( github.com/BurntSushi/toml v1.3.2 github.com/friendsofgo/errors v0.9.2 github.com/go-chi/chi/v5 v5.0.10 - github.com/go-playground/validator/v10 v10.16.0 + github.com/go-ozzo/ozzo-validation/v4 v4.3.0 github.com/google/uuid v1.4.0 github.com/jackc/pgx/v5 v5.5.0 github.com/kat-co/vala v0.0.0-20170210184112-42e1d8b61f12 github.com/lib/pq v1.10.6 github.com/spf13/viper v1.12.0 + github.com/volatiletech/null/v8 v8.1.2 github.com/volatiletech/randomize v0.0.1 github.com/volatiletech/sqlboiler/v4 v4.16.1 github.com/volatiletech/strmangle v0.0.6 @@ -19,18 +20,12 @@ require ( ) require ( - github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496 // indirect github.com/fsnotify/fsnotify v1.5.4 // indirect - github.com/gabriel-vasile/mimetype v1.4.3 // indirect - github.com/go-ozzo/ozzo-validation/v4 v4.3.0 // indirect - github.com/go-playground/locales v0.14.1 // indirect - github.com/go-playground/universal-translator v0.18.1 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect github.com/jackc/puddle/v2 v2.2.1 // indirect - github.com/leodido/go-urn v1.2.4 // indirect github.com/magiconair/properties v1.8.6 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/pelletier/go-toml v1.9.5 // indirect @@ -39,9 +34,9 @@ require ( github.com/spf13/cast v1.5.0 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect + github.com/stretchr/testify v1.8.2 // indirect github.com/subosito/gotenv v1.4.1 // indirect github.com/volatiletech/inflect v0.0.1 // indirect - golang.org/x/net v0.19.0 // indirect golang.org/x/sync v0.5.0 // indirect golang.org/x/sys v0.15.0 // indirect golang.org/x/text v0.14.0 // indirect -- cgit v1.2.3