Skip to content

Commit 2e195b9

Browse files
Add v2 to go.mod (#3)
* 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
1 parent c7c8806 commit 2e195b9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Package vat
22
===
33

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

99
Package for validating VAT numbers & retrieving VAT rates (from [ibericode/vat-rates](https://github.com/ibericode/vat-rates)) in Go.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/teamwork/vat
1+
module github.com/teamwork/vat/v2
22

33
go 1.21
44

mocks/mock_vies_service.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

numbers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010

1111
"github.com/golang/mock/gomock"
12-
"github.com/teamwork/vat/mocks"
12+
"github.com/teamwork/vat/v2/mocks"
1313
)
1414

1515
var tests = []struct {

0 commit comments

Comments
 (0)