Skip to content

Commit

Permalink
rename mod and import path (#353)
Browse files Browse the repository at this point in the history
* rename mod and import path

* Update README.md
  • Loading branch information
maxence-charriere committed Mar 8, 2020
1 parent 71e3e06 commit 4628076
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The package also provides an [http.handler](#http-handler) ready to serve all th
**go-app** requires [Go 1.14](https://golang.org/doc/go1.14) or newer.

```sh
go get -u -v github.com/maxence-charriere/go-app
go get -u -v github.com/maxence-charriere/go-app/v6
```

## How it works
Expand All @@ -45,7 +45,7 @@ go get -u -v github.com/maxence-charriere/go-app
```go
package main

import "github.com/maxence-charriere/go-app/pkg/app"
import "github.com/maxence-charriere/go-app/v6/pkg/app"

type hello struct {
app.Compo
Expand Down Expand Up @@ -107,7 +107,7 @@ package main
import (
"net/http"

"github.com/maxence-charriere/go-app/pkg/app"
"github.com/maxence-charriere/go-app/v6/pkg/app"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/maxence-charriere/go-app
module github.com/maxence-charriere/go-app/v6

go 1.14

Expand Down
2 changes: 1 addition & 1 deletion pkg/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package app
import (
"net/url"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/app_nowasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/url"
"runtime"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/app_wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"syscall/js"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/compo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"unicode"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

// Composer is the interface that describes a component that embeds other nodes.
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/elem.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"io"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

type standardNode interface {
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"text/template"
"time"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/js_wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/url"
"syscall/js"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

type value struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/range.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"sort"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

// RangeLoop represents a control structure that iterates within a slice, an
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/raw.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"strings"

"github.com/maxence-charriere/go-app/pkg/log"
"github.com/maxence-charriere/go-app/v6/pkg/log"
)

type rawNode interface {
Expand Down

0 comments on commit 4628076

Please sign in to comment.