aboutsummaryrefslogtreecommitdiff
path: root/userapi/storage
diff options
context:
space:
mode:
authorPiotrKozimor <37144818+PiotrKozimor@users.noreply.github.com>2021-11-02 17:48:48 +0100
committerGitHub <noreply@github.com>2021-11-02 16:48:48 +0000
commitdec05c334707346506a979e1cdb3b295dbad5c4f (patch)
tree76aebd11723fbda3b1311c4db272cd2c88ce3c57 /userapi/storage
parentb99f594a93dda7645fabda4b81498ea4ad40bc97 (diff)
Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021)
Diffstat (limited to 'userapi/storage')
-rw-r--r--userapi/storage/accounts/sqlite3/constraint_wasm.go1
-rw-r--r--userapi/storage/accounts/storage.go1
-rw-r--r--userapi/storage/devices/storage.go1
3 files changed, 3 insertions, 0 deletions
diff --git a/userapi/storage/accounts/sqlite3/constraint_wasm.go b/userapi/storage/accounts/sqlite3/constraint_wasm.go
index 0dd5b1fe..6c4ee762 100644
--- a/userapi/storage/accounts/sqlite3/constraint_wasm.go
+++ b/userapi/storage/accounts/sqlite3/constraint_wasm.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 sqlite3
diff --git a/userapi/storage/accounts/storage.go b/userapi/storage/accounts/storage.go
index 3489c9d0..a21f7d94 100644
--- a/userapi/storage/accounts/storage.go
+++ b/userapi/storage/accounts/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 accounts
diff --git a/userapi/storage/devices/storage.go b/userapi/storage/devices/storage.go
index bfce924d..3c203430 100644
--- a/userapi/storage/devices/storage.go
+++ b/userapi/storage/devices/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 devices