change module name

changing module name to `gosecret` for V2.
This commit is contained in:
brent s 2021-11-21 23:05:13 -05:00
parent e298633935
commit bdee0ea110
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
10 changed files with 12 additions and 12 deletions

View File

@ -1,11 +1,11 @@
package libsecret
package gosecret

import (
`github.com/godbus/dbus`
)

// NewCollection returns a pointer to a new Collection based on a Dbus connection and a Dbus path.
func NewCollection(conn *dbus.Conn, path dbus.ObjectPath) (coll *Collection) {
func NewCollection(conn *dbus.Conn, path dbus.ObjectPath) (coll *Collection, err error) {

coll = &Collection{
Conn: conn,

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

const (
DBusServiceName string = "org.freedesktop.secrets"

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

import (
`errors`

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

import (
`strings`

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

import (
`github.com/godbus/dbus`

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

import (
`github.com/godbus/dbus`

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

// NewSecret returns a pointer to a new Secret based on a Session, parameters, (likely an empty byte slice), a value, and the MIME content type.
func NewSecret(session *Session, params []byte, value []byte, contentType string) (secret *Secret) {

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

import (
`github.com/godbus/dbus`

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

import (
`github.com/godbus/dbus`

View File

@ -1,4 +1,4 @@
package libsecret
package gosecret

import (
`github.com/godbus/dbus`