mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
rename backend to pkg
This commit is contained in:
parent
e7ce371ee8
commit
9e30599f1f
2
grafana
2
grafana
@ -1 +1 @@
|
||||
Subproject commit bfe1ef07330fcfcdbc3aa9ddd4eef827ee48f316
|
||||
Subproject commit 472e1c6d8e4f6b1ea094d6e017e1a98803e48989
|
@ -5,7 +5,7 @@ import (
|
||||
"time"
|
||||
|
||||
log "github.com/alecthomas/log4go"
|
||||
"github.com/torkelo/grafana-pro/backend/server"
|
||||
"github.com/torkelo/grafana-pro/pkg/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
log "github.com/alecthomas/log4go"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/gorilla/sessions"
|
||||
"github.com/torkelo/grafana-pro/backend/components"
|
||||
"github.com/torkelo/grafana-pro/backend/stores"
|
||||
"github.com/torkelo/grafana-pro/pkg/components"
|
||||
"github.com/torkelo/grafana-pro/pkg/stores"
|
||||
)
|
||||
|
||||
type HttpServer struct {
|
@ -2,7 +2,7 @@ package api
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/torkelo/grafana-pro/backend/models"
|
||||
"github.com/torkelo/grafana-pro/pkg/models"
|
||||
)
|
||||
|
||||
func init() {
|
@ -1,8 +1,8 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/torkelo/grafana-pro/backend/api"
|
||||
"github.com/torkelo/grafana-pro/backend/stores"
|
||||
"github.com/torkelo/grafana-pro/pkg/api"
|
||||
"github.com/torkelo/grafana-pro/pkg/stores"
|
||||
)
|
||||
|
||||
type Server struct {
|
@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
|
||||
log "github.com/alecthomas/log4go"
|
||||
"github.com/torkelo/grafana-pro/backend/models"
|
||||
"github.com/torkelo/grafana-pro/pkg/models"
|
||||
)
|
||||
|
||||
type fileStore struct {
|
@ -9,7 +9,7 @@ import (
|
||||
"testing"
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"github.com/torkelo/grafana-pro/backend/models"
|
||||
"github.com/torkelo/grafana-pro/pkg/models"
|
||||
)
|
||||
|
||||
func TestFileStore(t *testing.T) {
|
@ -1,7 +1,7 @@
|
||||
package stores
|
||||
|
||||
import (
|
||||
"github.com/torkelo/grafana-pro/backend/models"
|
||||
"github.com/torkelo/grafana-pro/pkg/models"
|
||||
)
|
||||
|
||||
type Store interface {
|
Loading…
Reference in New Issue
Block a user