Skip to content

Commit

Permalink
modify import path to currantlabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzu-Jung Lee committed Nov 24, 2015
1 parent 5264bd0 commit ddf3b2a
Show file tree
Hide file tree
Showing 27 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go:
- release

install:
- go get github.com/sipin/gorazor
- go get github.com/currantlabs/gorazor

script:
- go test -v ./gorazor/
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GoRazor

[![Build Status](https://travis-ci.org/sipin/gorazor.svg?branch=master)](https://travis-ci.org/sipin/gorazor)
[![Build Status](https://travis-ci.org/currantlabs/gorazor.svg?branch=master)](https://travis-ci.org/sipin/gorazor)

GoRazor is the Go port of the razor view engine originated from [asp.net in 2011](http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx). In summary, GoRazor's:

Expand All @@ -22,7 +22,7 @@ Install:

```sh
go get gopkg.in/fsnotify.v1
go get github.com/sipin/gorazor
go get github.com/currantlabs/gorazor
```

Usage:
Expand Down Expand Up @@ -91,7 +91,7 @@ Only use `raw` when you are 100% sure what you are doing, please always be aware
}
```
Please use [example](https://github.com/sipin/gorazor/blob/master/examples/tpl/home.gohtml) for reference.
Please use [example](https://github.com/currantlabs/gorazor/blob/master/examples/tpl/home.gohtml) for reference.
## Code block
Expand Down Expand Up @@ -161,7 +161,7 @@ So, using a helper template is similar to:
GoRazor won't HTML escape the output of `helper.XXX`.
Please use [example](https://github.com/sipin/gorazor/blob/master/examples/tpl/home.gohtml) for reference.
Please use [example](https://github.com/currantlabs/gorazor/blob/master/examples/tpl/home.gohtml) for reference.
## Layout & Section
Expand Down Expand Up @@ -270,7 +270,7 @@ Thus, it's possible for the layout to define default section content in such man
# Example
Here is a simple example of [gorazor templates](https://github.com/sipin/gorazor/tree/master/examples/tpl) and the corresponding [generated codes](https://github.com/sipin/gorazor/tree/master/examples/gen).
Here is a simple example of [gorazor templates](https://github.com/currantlabs/gorazor/tree/master/examples/tpl) and the corresponding [generated codes](https://github.com/sipin/gorazor/tree/master/examples/gen).
# FAQ
Expand All @@ -282,7 +282,7 @@ Here is a simple example of [gorazor templates](https://github.com/sipin/gorazor
![syntax highlight](https://lh4.googleusercontent.com/-_mhaTNt04aU/U7kaSbSXCMI/AAAAAAAAH48/06DintuZPVE/w875-h770-p/Screen+Shot+2014-07-06+at+2.17.49+PM.png)
**Context aware auto-completion**, you may need to [manually modify](https://github.com/sipin/GoSublime/commit/fd0b979e7cc1d8f2438bb314399c2456d16f3ffb) GoSublime package, bascially replace `gscomplete.py` in with [this](https://raw.githubusercontent.com/sipin/GoSublime/gorazor/gscomplete.py) and `gslint.py` with [this](https://raw.githubusercontent.com/sipin/GoSublime/gorazor/gslint.py)
**Context aware auto-completion**, you may need to [manually modify](https://github.com/currantlabs/GoSublime/commit/fd0b979e7cc1d8f2438bb314399c2456d16f3ffb) GoSublime package, bascially replace `gscomplete.py` in with [this](https://raw.githubusercontent.com/sipin/GoSublime/gorazor/gscomplete.py) and `gslint.py` with [this](https://raw.githubusercontent.com/sipin/GoSublime/gorazor/gslint.py)
![auto complete](https://lh5.googleusercontent.com/-A95EdOJGVv8/U7kaSdMkP-I/AAAAAAAAH5A/5ZI4z7X2l_Y/w958-h664-no/Screen+Shot+2014-07-05+at+10.38.22+PM.png)
Expand All @@ -300,7 +300,7 @@ Here is a simple example of [gorazor templates](https://github.com/sipin/gorazor
# Credits
The very [first version](https://github.com/sipin/gorazor/releases/tag/vash) of GoRazor is essentially a hack of razor's port in javascript: [vash](https://github.com/kirbysayshi/vash), thus requires node's to run.
The very [first version](https://github.com/currantlabs/gorazor/releases/tag/vash) of GoRazor is essentially a hack of razor's port in javascript: [vash](https://github.com/kirbysayshi/vash), thus requires node's to run.
GoRazor has been though several rounds of refactoring and it has completely rewritten in pure Go. Nonetheless, THANK YOU [@kirbysayshi](https://github.com/kirbysayshi) for Vash! Without Vash, GoRazor may never start.
Expand Down
2 changes: 1 addition & 1 deletion docs/hello/src/tpl/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package tpl

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ In `gohtml` you may insert `Go` code snippet, like this:
```

For more details syntax please refer to [Web programming using the Razor syntax](http://www.asp.net/web-pages/tutorials/basics/2-introduction-to-asp-net-web-programming-using-the-razor-syntax).
And you may also add `javascript` code in `gohtml`, where ctx is `var ctx *web.Context`, details please refer to [sipin/web](http://github.com/sipin/web).
And you may also add `javascript` code in `gohtml`, where ctx is `var ctx *web.Context`, details please refer to [currantlabs/web](http://github.com/sipin/web).


```javascript
Expand Down
2 changes: 1 addition & 1 deletion examples/gen/helper/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package helper

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
. "kp/models"
)

Expand Down
2 changes: 1 addition & 1 deletion examples/gen/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package tpl

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
. "kp/models"
"tpl/helper"
"tpl/layout"
Expand Down
2 changes: 1 addition & 1 deletion gorazor.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"os"

"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Usage() {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/gogen.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"gopkg.in/fsnotify.v1"
)

var GorazorNamespace = `"github.com/sipin/gorazor/gorazor"`
var GorazorNamespace = `"github.com/currantlabs/gorazor/gorazor"`

var cfg = printer.Config{Mode: printer.UseSpaces | printer.TabIndent, Tabwidth: 4}

Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cases
import (
"bytes"
"cases/layout"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Add(content string, err string) string {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/argsbug.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cases
import (
"bytes"
"cases/layout"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
. "kp/models"
"tpl/helper"
)
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/badtag.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Badtag(w *gorazor.Widget) string {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
"tpl/admin/helper"
)

Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/bug8.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Bug8(l *Locale) string {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/bug9.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Bug9(l *Locale) string {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
"kp/models"
"tpl/admin/layout"
)
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/email.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Email() string {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/end.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cases
import (
"bytes"
"cases/layout"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
. "kp/models"
"tpl/helper"
)
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cases
import (
"bytes"
"cases/layout"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
. "kp/models"
"tpl/helper"
)
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cases
import (
"bytes"
"cases/layout"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
"kp/models"
)

Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/inline_var.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
"github.com/sunfmin/gorazortests/models"
)

Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/keyword.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Keyword() string {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Layout(body string, title string, side string) string {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/layout/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package layout

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
"tpl/admin/helper"
)

Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
)

func Login(msg string) string {
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
. "kp/models"
)

Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cases
import (
"bytes"
"dm"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
"zfw/models"
. "zfw/tplhelper"
)
Expand Down
2 changes: 1 addition & 1 deletion gorazor/test/sectionbug.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cases

import (
"bytes"
"github.com/sipin/gorazor/gorazor"
"github.com/currantlabs/gorazor/gorazor"
"kp/models"
"tpl/admin/layout"
)
Expand Down

0 comments on commit ddf3b2a

Please sign in to comment.