better godoc documentation

This commit is contained in:
2021-11-26 00:01:49 -05:00
parent 644ac13451
commit dbc0962e46
8 changed files with 65 additions and 13 deletions

View File

@@ -14,6 +14,8 @@ Last updated {localdatetime}
:toclevels: 7
:source-highlighter: rouge
image::https://pkg.go.dev/badge/r00t2.io/gosecret.svg[link="https://pkg.go.dev/r00t2.io/gosecret"]
This project is originally forked from https://github.com/gsterjov/go-libsecret[go-libsecret^] due to:
* Lack of response from the developer
@@ -32,7 +34,7 @@ To use this library as a replacement without significantly modifying your code,
.go.mod
[source]
----
# ...
// ...
replace (
github.com/gsterjov/go-libsecret dev => r00t2.io/gosecret v0
)
@@ -48,7 +50,7 @@ To use the new version,
[source,go]
----
import (
`r00t2.io/gosecret/v1`
`r00t2.io/gosecret/v1`
)
----