mirror of
https://github.com/skadimoolam/go-vue-todos.git
synced 2026-05-16 14:16:17 -06:00
Merge branch 'master' into master
This commit is contained in:
commit
1a80eb0bac
3 changed files with 4 additions and 4 deletions
|
|
@ -5,8 +5,8 @@ import (
|
|||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"../models"
|
||||
"github.com/labstack/echo"
|
||||
"github.com/skadimoolam/go-vue-todos/models"
|
||||
)
|
||||
|
||||
type H map[string]interface{}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
# Simple Todos using GoLang and Vue
|
||||
|
||||
## Installation
|
||||
- `git clone https://github.com/skadimoolam/go-vue-todos`
|
||||
- `cd go-vue-todos`
|
||||
- `go get -u github.com/skadimoolam/go-vue-todos`
|
||||
- `go get -u github.com/labstack/echo` -- This installs ECHO
|
||||
- `go get -u github.com/mattn/go-sqlite3` -- This installs the sqlite package
|
||||
- `cd $GOPATH/src/github.com/skadimoolam/go-vue-todos`
|
||||
- `go run todo.go` -- assuming you have Go already installed and configured
|
||||
- Open **localhost:8080** in your browser
|
||||
|
|
|
|||
2
todo.go
2
todo.go
|
|
@ -3,9 +3,9 @@ package main
|
|||
import (
|
||||
"database/sql"
|
||||
|
||||
"./handlers"
|
||||
"github.com/labstack/echo"
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
"github.com/skadimoolam/go-vue-todos/handlers"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue