rename backend to pkg

This commit is contained in:
Torkel Ödegaard
2014-08-12 20:45:41 +02:00
parent e7ce371ee8
commit 9e30599f1f
16 changed files with 10 additions and 10 deletions

Submodule grafana updated: bfe1ef0733...472e1c6d8e

View File

@@ -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() {

View File

@@ -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 {

View File

@@ -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() {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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) {

View File

@@ -1,7 +1,7 @@
package stores
import (
"github.com/torkelo/grafana-pro/backend/models"
"github.com/torkelo/grafana-pro/pkg/models"
)
type Store interface {