revel_test->GoMap

master
keen 2015-09-08 09:41:21 +09:00
parent cf742c17d4
commit e6fe3e86ae
8 changed files with 10 additions and 10 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -2,7 +2,7 @@ package controllers
import ( import (
"github.com/revel/revel" "github.com/revel/revel"
"github.com/ehrudxo/revel_test1/app/models" "github.com/ehrudxo/GoMap/app/models"
) )
type App struct { type App struct {

View File

@ -4,7 +4,7 @@ import (
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
_ "github.com/lib/pq" _ "github.com/lib/pq"
"github.com/revel/revel" "github.com/revel/revel"
"github.com/ehrudxo/revel_test1/app/models" "github.com/ehrudxo/GoMap/app/models"
) )
type GormController struct { type GormController struct {
*revel.Controller *revel.Controller

View File

@ -7,8 +7,8 @@ import (
"strconv" "strconv"
_ "net/http" _ "net/http"
"github.com/revel/revel" "github.com/revel/revel"
"github.com/ehrudxo/revel_test1/app/models" "github.com/ehrudxo/GoMap/app/models"
"github.com/ehrudxo/revel_test1/app/services" "github.com/ehrudxo/GoMap/app/services"
) )
const epsg = 2097 const epsg = 2097

View File

@ -2,7 +2,7 @@ package app
import ( import (
"github.com/revel/revel" "github.com/revel/revel"
"github.com/ehrudxo/revel_test1/app/controllers" "github.com/ehrudxo/GoMap/app/controllers"
) )
func init() { func init() {

View File

@ -8,7 +8,7 @@ import (
"github.com/revel/revel" "github.com/revel/revel"
"github.com/ninjasphere/draw2d/draw2dkit" "github.com/ninjasphere/draw2d/draw2dkit"
"github.com/ninjasphere/draw2d/draw2dimg" "github.com/ninjasphere/draw2d/draw2dimg"
"github.com/ehrudxo/revel_test1/app/models" "github.com/ehrudxo/GoMap/app/models"
) )
func PrintPoint(toilets []models.Toilet) { func PrintPoint(toilets []models.Toilet) {

View File

@ -7,7 +7,7 @@
# This sets the `AppName` variable which can be used in your code as # This sets the `AppName` variable which can be used in your code as
# `if revel.AppName {...}` # `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 # A secret string which is passed to cryptographically sign the cookie to prevent
# (and detect) user modification. # (and detect) user modification.

View File

@ -2,9 +2,9 @@ package main
import ( import (
"fmt" "fmt"
"github.com/ehrudxo/revel_test1/app/services" "github.com/ehrudxo/GoMap/app/services"
"github.com/ehrudxo/revel_test1/app/controllers" "github.com/ehrudxo/GoMap/app/controllers"
"github.com/ehrudxo/revel_test1/app/models" "github.com/ehrudxo/GoMap/app/models"
) )
//ninjasphere is very important //ninjasphere is very important
func main(){ func main(){