From 13ccdf9969686d1793b01301686e68715722f2dd Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Sun, 17 Nov 2024 23:10:50 +0500 Subject: [PATCH] chore: copile flag --- db/bolt/runner.go | 4 +++- db/sql/runner.go | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/db/bolt/runner.go b/db/bolt/runner.go index 91b5ba09..8b633f22 100644 --- a/db/bolt/runner.go +++ b/db/bolt/runner.go @@ -1,10 +1,12 @@ +//go:build !pro + package bolt import ( "encoding/base64" - "github.com/semaphoreui/semaphore/db" "github.com/gorilla/securecookie" + "github.com/semaphoreui/semaphore/db" "go.etcd.io/bbolt" ) diff --git a/db/sql/runner.go b/db/sql/runner.go index 81b4f5df..4b56d10f 100644 --- a/db/sql/runner.go +++ b/db/sql/runner.go @@ -1,10 +1,12 @@ +//go:build !pro + package sql import ( "encoding/base64" "github.com/Masterminds/squirrel" - "github.com/semaphoreui/semaphore/db" "github.com/gorilla/securecookie" + "github.com/semaphoreui/semaphore/db" ) func (d *SqlDb) GetRunner(projectID int, runnerID int) (runner db.Runner, err error) {