How to use:
cd src
go build
- Update passports DataBase:
RestrictedPassportService update
- Start API:
RestrictedPassportService api
curl http://localhost/passportApi/check?passport=PASSPORT_NUMBER
will returns {"passportBanned":false,"success":true}