Skip to content

Commit 5dab577

Browse files
authored
Add name prefix everywhere. (#10)
Signed-off-by: David Calavera <david.calavera@gmail.com>
1 parent 9ef47ab commit 5dab577

12 files changed

+21
-21
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM calavera/go-glide:v0.12.2
22

3-
ADD . /go/src/github.com/netlify/commerce
3+
ADD . /go/src/github.com/netlify/netlify-commerce
44

5-
RUN cd /go/src/github.com/netlify/commerce && make deps build && mv commerce /usr/local/bin/
5+
RUN cd /go/src/github.com/netlify/netlify-commerce && make deps build && mv netlify-commerce /usr/local/bin/
66

7-
CMD ["commerce"]
7+
CMD ["netlify-commerce"]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ features. Currently it enables VAT calculations on a per country/product type ba
5757

5858
The reason we make you include the file in the static site, is that you'll need to do the same
5959
VAT calculations client side during checkout to be able to show this to the user. The
60-
[commerce-js](https://github.com/netlify/commerce-js) client library can help you with
60+
[commerce-js](https://github.com/netlify/netlify-commerce-js) client library can help you with
6161
this.
6262

6363
Here's an example settings file:
@@ -83,4 +83,4 @@ tax has been included in that product.
8383

8484
# JavaScript Client Library
8585

86-
The easiest way to use Netlify Commerce is with [commerce-js](https://github.com/netlify/commerce-js).
86+
The easiest way to use Netlify Commerce is with [commerce-js](https://github.com/netlify/netlify-commerce-js).

api/api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
jwt "github.com/dgrijalva/jwt-go"
1212
"github.com/guregu/kami"
1313
"github.com/jinzhu/gorm"
14-
"github.com/netlify/commerce/conf"
15-
"github.com/netlify/commerce/mailer"
14+
"github.com/netlify/netlify-commerce/conf"
15+
"github.com/netlify/netlify-commerce/mailer"
1616
"github.com/rs/cors"
1717
)
1818

api/helpers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66

77
jwt "github.com/dgrijalva/jwt-go"
8-
"github.com/netlify/commerce/conf"
8+
"github.com/netlify/netlify-commerce/conf"
99
"golang.org/x/net/context"
1010
)
1111

api/order.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/guregu/kami"
1212
"github.com/jinzhu/gorm"
1313
"github.com/mattes/vat"
14-
"github.com/netlify/commerce/models"
14+
"github.com/netlify/netlify-commerce/models"
1515
"github.com/pborman/uuid"
1616

1717
"golang.org/x/net/context"

api/payments.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77

88
"github.com/guregu/kami"
9-
"github.com/netlify/commerce/models"
9+
"github.com/netlify/netlify-commerce/models"
1010
stripe "github.com/stripe/stripe-go"
1111
"github.com/stripe/stripe-go/charge"
1212
"golang.org/x/net/context"

cmd/root_cmd.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"github.com/spf13/cobra"
88
stripe "github.com/stripe/stripe-go"
99

10-
"github.com/netlify/commerce/api"
11-
"github.com/netlify/commerce/conf"
12-
"github.com/netlify/commerce/mailer"
13-
"github.com/netlify/commerce/models"
10+
"github.com/netlify/netlify-commerce/api"
11+
"github.com/netlify/netlify-commerce/conf"
12+
"github.com/netlify/netlify-commerce/mailer"
13+
"github.com/netlify/netlify-commerce/models"
1414
)
1515

1616
// RootCmd will run the log streamer

glide.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

glide.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package: github.com/netlify/commerce
1+
package: github.com/netlify/netlify-commerce
22
import:
33
- package: github.com/PuerkitoBio/goquery
44
- package: github.com/dgrijalva/jwt-go

mailer/mailer.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
gomail "gopkg.in/gomail.v2"
77

8-
"github.com/netlify/commerce/conf"
9-
"github.com/netlify/commerce/models"
8+
"github.com/netlify/netlify-commerce/conf"
9+
"github.com/netlify/netlify-commerce/models"
1010
)
1111

1212
// Mailer will send mail and use templates from the site for easy mail styling

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/netlify/commerce/cmd"
7+
"github.com/netlify/netlify-commerce/cmd"
88
)
99

1010
func main() {

models/connection.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
_ "github.com/go-sql-driver/mysql"
66
_ "github.com/lib/pq"
77
_ "github.com/mattn/go-sqlite3"
8-
"github.com/netlify/commerce/conf"
8+
"github.com/netlify/netlify-commerce/conf"
99

1010
"github.com/jinzhu/gorm"
1111
)

0 commit comments

Comments
 (0)