diff options
author | PiotrKozimor <37144818+PiotrKozimor@users.noreply.github.com> | 2021-11-02 17:48:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 16:48:48 +0000 |
commit | dec05c334707346506a979e1cdb3b295dbad5c4f (patch) | |
tree | 76aebd11723fbda3b1311c4db272cd2c88ce3c57 /mediaapi | |
parent | b99f594a93dda7645fabda4b81498ea4ad40bc97 (diff) |
Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021)
Diffstat (limited to 'mediaapi')
-rw-r--r-- | mediaapi/storage/storage.go | 1 | ||||
-rw-r--r-- | mediaapi/thumbnailer/thumbnailer_bimg.go | 1 | ||||
-rw-r--r-- | mediaapi/thumbnailer/thumbnailer_nfnt.go | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/mediaapi/storage/storage.go b/mediaapi/storage/storage.go index a976f795..56059f1c 100644 --- a/mediaapi/storage/storage.go +++ b/mediaapi/storage/storage.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !wasm // +build !wasm package storage diff --git a/mediaapi/thumbnailer/thumbnailer_bimg.go b/mediaapi/thumbnailer/thumbnailer_bimg.go index 087385a7..6ca53317 100644 --- a/mediaapi/thumbnailer/thumbnailer_bimg.go +++ b/mediaapi/thumbnailer/thumbnailer_bimg.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build bimg // +build bimg package thumbnailer diff --git a/mediaapi/thumbnailer/thumbnailer_nfnt.go b/mediaapi/thumbnailer/thumbnailer_nfnt.go index d7aa294a..beae88c5 100644 --- a/mediaapi/thumbnailer/thumbnailer_nfnt.go +++ b/mediaapi/thumbnailer/thumbnailer_nfnt.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !bimg // +build !bimg package thumbnailer |