mirror of https://github.com/ehrudxo/GoMap.git
revel_test->GoMap
parent
cf742c17d4
commit
e6fe3e86ae
|
@ -2,7 +2,7 @@ package controllers
|
|||
|
||||
import (
|
||||
"github.com/revel/revel"
|
||||
"github.com/ehrudxo/revel_test1/app/models"
|
||||
"github.com/ehrudxo/GoMap/app/models"
|
||||
)
|
||||
|
||||
type App struct {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"github.com/jinzhu/gorm"
|
||||
_ "github.com/lib/pq"
|
||||
"github.com/revel/revel"
|
||||
"github.com/ehrudxo/revel_test1/app/models"
|
||||
"github.com/ehrudxo/GoMap/app/models"
|
||||
)
|
||||
type GormController struct {
|
||||
*revel.Controller
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
"strconv"
|
||||
_ "net/http"
|
||||
"github.com/revel/revel"
|
||||
"github.com/ehrudxo/revel_test1/app/models"
|
||||
"github.com/ehrudxo/revel_test1/app/services"
|
||||
"github.com/ehrudxo/GoMap/app/models"
|
||||
"github.com/ehrudxo/GoMap/app/services"
|
||||
)
|
||||
const epsg = 2097
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package app
|
|||
|
||||
import (
|
||||
"github.com/revel/revel"
|
||||
"github.com/ehrudxo/revel_test1/app/controllers"
|
||||
"github.com/ehrudxo/GoMap/app/controllers"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/revel/revel"
|
||||
"github.com/ninjasphere/draw2d/draw2dkit"
|
||||
"github.com/ninjasphere/draw2d/draw2dimg"
|
||||
"github.com/ehrudxo/revel_test1/app/models"
|
||||
"github.com/ehrudxo/GoMap/app/models"
|
||||
)
|
||||
|
||||
func PrintPoint(toilets []models.Toilet) {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
# This sets the `AppName` variable which can be used in your code as
|
||||
# `if revel.AppName {...}`
|
||||
app.name = github.com/ehrudxo/revel_test1
|
||||
app.name = github.com/ehrudxo/GoMap
|
||||
|
||||
# A secret string which is passed to cryptographically sign the cookie to prevent
|
||||
# (and detect) user modification.
|
||||
|
|
|
@ -2,9 +2,9 @@ package main
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ehrudxo/revel_test1/app/services"
|
||||
"github.com/ehrudxo/revel_test1/app/controllers"
|
||||
"github.com/ehrudxo/revel_test1/app/models"
|
||||
"github.com/ehrudxo/GoMap/app/services"
|
||||
"github.com/ehrudxo/GoMap/app/controllers"
|
||||
"github.com/ehrudxo/GoMap/app/models"
|
||||
)
|
||||
//ninjasphere is very important
|
||||
func main(){
|
||||
|
|
Loading…
Reference in New Issue