mirror of https://github.com/ehrudxo/GoMap.git
revel_test->GoMap
parent
cf742c17d4
commit
e6fe3e86ae
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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(){
|
||||||
|
|
Loading…
Reference in New Issue