Commit 9e30599f by Torkel Ödegaard

rename backend to pkg

parent e7ce371e
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() {
......
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) {
......
package stores
import (
"github.com/torkelo/grafana-pro/backend/models"
"github.com/torkelo/grafana-pro/pkg/models"
)
type Store interface {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment