Skip to content

Commit

Permalink
Add v2 to go.mod (#3)
Browse files Browse the repository at this point in the history
* Just noticed the latest version V2 is not getting picked up by https://pkg.go.dev/ so hopefully this will fix it

* Let's see if regerating the mock file fixes the dependency on v1 of this package

* Fix import
  • Loading branch information
chrisrollins65 authored Apr 15, 2024
1 parent c7c8806 commit 2e195b9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package vat
===

![Build](https://github.com/Teamwork/vat/actions/workflows/build.yml/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/Teamwork/vat)](https://goreportcard.com/report/github.com/Teamwork/vat)
[![GoDoc](https://godoc.org/github.com/Teamwork/vat?status.svg)](https://godoc.org/github.com/Teamwork/vat)
[![Go Report Card](https://goreportcard.com/badge/github.com/teamwork/vat)](https://goreportcard.com/report/github.com/teamwork/vat)
[![GoDoc](https://godoc.org/github.com/teamwork/vat?status.svg)](https://godoc.org/github.com/teamwork/vat)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/teamwork/vat/master/LICENSE)

Package for validating VAT numbers & retrieving VAT rates (from [ibericode/vat-rates](https://github.com/ibericode/vat-rates)) in Go.
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/teamwork/vat
module github.com/teamwork/vat/v2

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion mocks/mock_vies_service.go

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

2 changes: 1 addition & 1 deletion numbers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/golang/mock/gomock"
"github.com/teamwork/vat/mocks"
"github.com/teamwork/vat/v2/mocks"
)

var tests = []struct {
Expand Down

0 comments on commit 2e195b9

Please sign in to comment.