github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/networking/v2/apiversions/doc.go (about) 1 /* 2 Package apiversions provides information and interaction with the different 3 API versions for the OpenStack Neutron service. This functionality is not 4 restricted to this particular version. 5 6 Example to List API Versions 7 8 allPages, err := apiversions.ListVersions(networkingClient).AllPages() 9 if err != nil { 10 panic(err) 11 } 12 13 allVersions, err := apiversions.ExtractAPIVersions(allPages) 14 if err != nil { 15 panic(err) 16 } 17 18 for _, version := range allVersions { 19 fmt.Printf("%+v\n", version) 20 } 21 */ 22 package apiversions