From 5937e7ea9d6a046caa55ab6c5f3864433887e2cd Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Mon, 7 Oct 2024 23:31:30 +0300 Subject: [PATCH] add tag to toggle between online and offline tests --- engine/tag_offline.go | 5 +++++ engine/tag_online.go | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 engine/tag_offline.go create mode 100644 engine/tag_online.go diff --git a/engine/tag_offline.go b/engine/tag_offline.go new file mode 100644 index 0000000..d81433e --- /dev/null +++ b/engine/tag_offline.go @@ -0,0 +1,5 @@ +// +build !online + +package engine + +const OnlineTestEnabled = false \ No newline at end of file diff --git a/engine/tag_online.go b/engine/tag_online.go new file mode 100644 index 0000000..a2ba80b --- /dev/null +++ b/engine/tag_online.go @@ -0,0 +1,5 @@ +// +build online + +package engine + +const OnlineTestEnabled = true \ No newline at end of file