Skip to content

The small application is written during the golang workshop by STX Next

Notifications You must be signed in to change notification settings

Mowinski/stx-next-go-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc

STX Next - Go Workshop

This application verify VAT number in Europe VIES.

Example output for valid VAT number

➜  stx-next-go-workshop git:(master) ✗ ./stx-next-go-workshop
GB
<VALIDNUMBER>
Error:
ErrorCode:
CountryCode: GB
VatNumber: <VALIDNUMBER>
RequestDate: 2018-06-18+02:00
Valid: true
Name: TEST COMPANY NAME
Address: MULTILINE TEST ADDRESS
STREET CITY
POSTALCODE

Example output for invalid VAT number

➜  stx-next-go-workshop git:(master) ✗ ./stx-next-go-workshop
GB
<INVALIDNUMBER>
Error:
ErrorCode:
CountryCode: GB
VatNumber: <INVALIDNUMBER>
RequestDate: 2018-06-18+02:00
Valid: false
Name: ---
Address: ---

About

The small application is written during the golang workshop by STX Next

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published