chore: copile flag

This commit is contained in:
Denis Gukov 2024-11-17 23:10:50 +05:00
parent 8c28aefada
commit 13ccdf9969
2 changed files with 6 additions and 2 deletions

View File

@ -1,10 +1,12 @@
//go:build !pro
package bolt package bolt
import ( import (
"encoding/base64" "encoding/base64"
"github.com/semaphoreui/semaphore/db"
"github.com/gorilla/securecookie" "github.com/gorilla/securecookie"
"github.com/semaphoreui/semaphore/db"
"go.etcd.io/bbolt" "go.etcd.io/bbolt"
) )

View File

@ -1,10 +1,12 @@
//go:build !pro
package sql package sql
import ( import (
"encoding/base64" "encoding/base64"
"github.com/Masterminds/squirrel" "github.com/Masterminds/squirrel"
"github.com/semaphoreui/semaphore/db"
"github.com/gorilla/securecookie" "github.com/gorilla/securecookie"
"github.com/semaphoreui/semaphore/db"
) )
func (d *SqlDb) GetRunner(projectID int, runnerID int) (runner db.Runner, err error) { func (d *SqlDb) GetRunner(projectID int, runnerID int) (runner db.Runner, err error) {