Add Native Sharing REST API (#1150)

* Initial draft - UNTESTED

* changes to Save() and Update()

* apply col filter and limit nanoid

* remove columns to not update
This commit is contained in:
Yash Jipkate
2021-06-09 01:14:30 +05:30
committed by GitHub
parent e80cf80d05
commit af210c8903
9 changed files with 112 additions and 6 deletions
+6 -2
View File
@@ -4,14 +4,14 @@ go 1.16
require (
code.cloudfoundry.org/go-diodes v0.0.0-20190809170250-f77fb823c7ee
github.com/ClickHouse/clickhouse-go v1.4.3 // indirect
github.com/ClickHouse/clickhouse-go v1.4.5 // indirect
github.com/Masterminds/squirrel v1.5.0
github.com/ReneKroon/ttlcache/v2 v2.6.0
github.com/astaxie/beego v1.12.3
github.com/bradleyjkemp/cupaloy v2.3.0+incompatible
github.com/cespare/reflex v0.3.0
github.com/deluan/rest v0.0.0-20210503015435-e7091d44f0ba
github.com/denisenkom/go-mssqldb v0.9.0 // indirect
github.com/denisenkom/go-mssqldb v0.10.0 // indirect
github.com/dhowden/tag v0.0.0-20200412032933-5d76b8eaae27
github.com/disintegration/imaging v1.6.2
github.com/djherbis/fscache v0.10.2-0.20201024185917-a0daa9e52747
@@ -20,12 +20,15 @@ require (
github.com/go-chi/cors v1.2.0
github.com/go-chi/httprate v0.4.0
github.com/go-chi/jwtauth/v5 v5.0.1
github.com/go-sql-driver/mysql v1.6.0 // indirect
github.com/golangci/golangci-lint v1.40.1
github.com/google/uuid v1.2.0
github.com/google/wire v0.5.0
github.com/kennygrant/sanitize v0.0.0-20170120101633-6a0bfdde8629
github.com/kr/pretty v0.2.1
github.com/lestrrat-go/jwx v1.2.0
github.com/lib/pq v1.10.2 // indirect
github.com/matoous/go-nanoid v1.5.0 // indirect
github.com/mattn/go-sqlite3 v2.0.3+incompatible
github.com/microcosm-cc/bluemonday v1.0.9
github.com/mitchellh/mapstructure v1.3.2 // indirect
@@ -45,6 +48,7 @@ require (
github.com/unrolled/secure v1.0.9
github.com/xrash/smetrics v0.0.0-20200730060457-89a2a8a1fb0b
github.com/ziutek/mymysql v1.5.4 // indirect
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a // indirect
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
golang.org/x/tools v0.1.2-0.20210512205948-8287d5da45e4