-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
45 lines (45 loc) · 1.39 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Package vevo implements Visa Entitlement Verification Online system that
// is the Australian Visa check online system:
// https://immi.homeaffairs.gov.au/visas/already-have-a-visa/check-visa-details-and-conditions/overview
//
// This library allows users to check their Australian Visa without browser and facilitate the whole
// process of filling forms in any internet browser.
//
// To to get valid result basic information is needed such as Passport number,
// Country code of the specific country in which the passport has been issued, date of birth of the
// Visa applicant and lastly the number of the visa.
//
// There are two types of identification of the visa: Visa Grant Number or
// Transaction Reference Number. Any of them can be used to get the Visa status.
//
// Installation
// go get github.com/lukasaron/vevo
//
// Example of usage
// package main
//
// import (
// "fmt"
// "github.com/lukasaron/vevo"
// "log"
// "time"
// )
//
// func main() {
// // date of birth
// dob := time.Date(1970, time.January, 1, 0, 0, 0, 0, time.UTC)
// // passport number
// passport := "123456P"
// // country code
// cc := "AUS"
// // visa grant number or transaction reference number
// vgn := "1234567891011"
// v := vevo.NewVEVO(dob, passport, cc, vgn)
// visa, err := v.Visa()
// if err != nil {
// log.Fatal(err)
// }
//
// fmt.Printf("%+v\n", visa)
// }
package vevo