Skip to content

Commit ea10e0c

Browse files
committed
Fix issues in readme.
1 parent 46b1833 commit ea10e0c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# go-netbox
22

3-
[![GoDoc](https://pkg.go.dev/badge/github.com/netbox-community/go-netbox)](https://pkg.go.dev/github.com/netbox-community/go-netbox) [![Build Status](https://github.com/netbox-community/go-netbox/workflows/main/badge.svg?branch=master)](https://github.com/netbox-community/go-netbox/actions) [![Report Card](https://goreportcard.com/badge/github.com/netbox-community/go-netbox)](https://goreportcard.com/report/github.com/netbox-community/go-netbox)
3+
[![GoDoc](https://pkg.go.dev/badge/github.com/netbox-community/go-netbox/v3)](https://pkg.go.dev/github.com/netbox-community/go-netbox/v3) [![Build Status](https://github.com/netbox-community/go-netbox/workflows/main/badge.svg?branch=master)](https://github.com/netbox-community/go-netbox/actions) [![Report Card](https://goreportcard.com/badge/github.com/netbox-community/go-netbox)](https://goreportcard.com/report/github.com/netbox-community/go-netbox)
44

55
_go-netbox_ is —to nobody's surprise— the official [Go](https://go.dev) API client for [Netbox](https://github.com/netbox-community/netbox) IPAM and DCIM service.
66

7-
This project follows [Semantic Versioning](https://semver.org). The version of the library built for a Netbox version has the same tag, followed by the build number (an incremental integer) in the version metadata.
7+
This project follows [Semantic Versioning](https://semver.org). The version of the library built for a Netbox version has the same tag, followed by a hyphen and the build number (an incremental integer), as several versions of the library may exist for the same version of Netbox.
88

99
## Installation
1010

1111
Use `go get` to add the library as a project's dependency. Do not forget to run `go mod init` first if necessary.
1212

1313
```shell
14-
go get github.com/netbox-community/go-netbox
14+
go get github.com/netbox-community/go-netbox/v3
1515

1616
# Or install a specific version
1717
go get github.com/netbox-community/go-netbox/[email protected]
@@ -50,6 +50,7 @@ In order to consume the Netbox API with HTTP over TLS, a transport must be creat
5050
package main
5151

5252
import (
53+
"fmt"
5354
"log"
5455

5556
transport "github.com/go-openapi/runtime/client"

0 commit comments

Comments
 (0)