diff options
| author | Adnan Maolood <[email protected]> | 2020-10-27 23:35:22 -0400 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2020-10-27 23:35:22 -0400 |
| commit | 4c5167f590384278e211622e7b1ba134bd379c76 (patch) | |
| tree | 0a46b38f5a6b88b640d3ebd0e843efb721dd6311 /examples/cert.go | |
| parent | Restrict client certificates to certain paths (diff) | |
| download | go-gemini-4c5167f590384278e211622e7b1ba134bd379c76.tar.xz go-gemini-4c5167f590384278e211622e7b1ba134bd379c76.zip | |
Add Client.GetInput field
Diffstat (limited to 'examples/cert.go')
| -rw-r--r-- | examples/cert.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cert.go b/examples/cert.go index dc6cc40..9ab80af 100644 --- a/examples/cert.go +++ b/examples/cert.go @@ -11,13 +11,13 @@ import ( "os" "time" - gmi "git.sr.ht/~adnano/go-gemini" + "git.sr.ht/~adnano/go-gemini" ) func main() { host := "localhost" duration := 365 * 24 * time.Hour - cert, err := gmi.NewCertificate(host, duration) + cert, err := gemini.NewCertificate(host, duration) if err != nil { log.Fatal(err) } |