Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add name prefix everywhere. #10

Merged
merged 1 commit into from
Sep 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM calavera/go-glide:v0.12.2

ADD . /go/src/github.com/netlify/commerce
ADD . /go/src/github.com/netlify/netlify-commerce

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

CMD ["commerce"]
CMD ["netlify-commerce"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ features. Currently it enables VAT calculations on a per country/product type ba

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

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

# JavaScript Client Library

The easiest way to use Netlify Commerce is with [commerce-js](https://github.com/netlify/commerce-js).
The easiest way to use Netlify Commerce is with [commerce-js](https://github.com/netlify/netlify-commerce-js).
4 changes: 2 additions & 2 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
jwt "github.com/dgrijalva/jwt-go"
"github.com/guregu/kami"
"github.com/jinzhu/gorm"
"github.com/netlify/commerce/conf"
"github.com/netlify/commerce/mailer"
"github.com/netlify/netlify-commerce/conf"
"github.com/netlify/netlify-commerce/mailer"
"github.com/rs/cors"
)

Expand Down
2 changes: 1 addition & 1 deletion api/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"

jwt "github.com/dgrijalva/jwt-go"
"github.com/netlify/commerce/conf"
"github.com/netlify/netlify-commerce/conf"
"golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion api/order.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/guregu/kami"
"github.com/jinzhu/gorm"
"github.com/mattes/vat"
"github.com/netlify/commerce/models"
"github.com/netlify/netlify-commerce/models"
"github.com/pborman/uuid"

"golang.org/x/net/context"
Expand Down
2 changes: 1 addition & 1 deletion api/payments.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"

"github.com/guregu/kami"
"github.com/netlify/commerce/models"
"github.com/netlify/netlify-commerce/models"
stripe "github.com/stripe/stripe-go"
"github.com/stripe/stripe-go/charge"
"golang.org/x/net/context"
Expand Down
8 changes: 4 additions & 4 deletions cmd/root_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"github.com/spf13/cobra"
stripe "github.com/stripe/stripe-go"

"github.com/netlify/commerce/api"
"github.com/netlify/commerce/conf"
"github.com/netlify/commerce/mailer"
"github.com/netlify/commerce/models"
"github.com/netlify/netlify-commerce/api"
"github.com/netlify/netlify-commerce/conf"
"github.com/netlify/netlify-commerce/mailer"
"github.com/netlify/netlify-commerce/models"
)

// RootCmd will run the log streamer
Expand Down
4 changes: 2 additions & 2 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package: github.com/netlify/commerce
package: github.com/netlify/netlify-commerce
import:
- package: github.com/PuerkitoBio/goquery
- package: github.com/dgrijalva/jwt-go
Expand Down
4 changes: 2 additions & 2 deletions mailer/mailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

gomail "gopkg.in/gomail.v2"

"github.com/netlify/commerce/conf"
"github.com/netlify/commerce/models"
"github.com/netlify/netlify-commerce/conf"
"github.com/netlify/netlify-commerce/models"
)

// Mailer will send mail and use templates from the site for easy mail styling
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/netlify/commerce/cmd"
"github.com/netlify/netlify-commerce/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion models/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
_ "github.com/mattn/go-sqlite3"
"github.com/netlify/commerce/conf"
"github.com/netlify/netlify-commerce/conf"

"github.com/jinzhu/gorm"
)
Expand Down