Change to v1

This commit is contained in:
Lars Scheibling
2024-01-12 09:32:51 +00:00
parent c1a0f72fa1
commit 5d43b022cb
12 changed files with 16 additions and 16 deletions

View File

@@ -11,11 +11,11 @@
//
// For example:
//
// //go:generate go run git.cloudyne.io/go/msteinert-go-pam/v2/pam-moduler
// //go:generate go run git.cloudyne.io/go/msteinert-go-pam/pam-moduler
// //go:generate go generate --skip="pam_module"
// package main
//
// import "git.cloudyne.io/go/msteinert-go-pam/v2"
// import "git.cloudyne.io/go/msteinert-go-pam"
//
// type ExampleHandler struct{}
// var pamModuleHandler pam.ModuleHandler = &ExampleHandler{}
@@ -229,7 +229,7 @@ import (
"fmt"
"os"
"unsafe"
"git.cloudyne.io/go/msteinert-go-pam/v2"
"git.cloudyne.io/go/msteinert-go-pam"
)
`)

View File

@@ -1,4 +1,4 @@
//go:generate go run git.cloudyne.io/go/msteinert-go-pam/v2/cmd/pam-moduler -libname "pam_godebug.so"
//go:generate go run git.cloudyne.io/go/msteinert-go-pam/cmd/pam-moduler -libname "pam_godebug.so"
//go:generate go generate --skip="pam_module.go"
// This is a similar implementation of pam_debug.so
@@ -10,7 +10,7 @@ import (
"fmt"
"strings"
"git.cloudyne.io/go/msteinert-go-pam/v2/cmd/pam-moduler/tests/internal/utils"
"git.cloudyne.io/go/msteinert-go-pam/cmd/pam-moduler/tests/internal/utils"
)
var pamModuleHandler pam.ModuleHandler = &DebugModule{}

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"testing"
"git.cloudyne.io/go/msteinert-go-pam/v2/cmd/pam-moduler/tests/internal/utils"
"git.cloudyne.io/go/msteinert-go-pam/cmd/pam-moduler/tests/internal/utils"
)
func Test_DebugModule_ActionStatus(t *testing.T) {

View File

@@ -16,7 +16,7 @@ import "C"
import (
"errors"
"fmt"
"git.cloudyne.io/go/msteinert-go-pam/v2"
"git.cloudyne.io/go/msteinert-go-pam"
"os"
"unsafe"
)

View File

@@ -6,7 +6,7 @@ import (
"reflect"
"testing"
"git.cloudyne.io/go/msteinert-go-pam/v2/cmd/pam-moduler/tests/internal/utils"
"git.cloudyne.io/go/msteinert-go-pam/cmd/pam-moduler/tests/internal/utils"
)
func ensureNoError(t *testing.T, err error) {

View File

@@ -1,4 +1,4 @@
//go:generate go run git.cloudyne.io/go/msteinert-go-pam/v2/cmd/pam-moduler -type integrationTesterModule -parallel-conv
//go:generate go run git.cloudyne.io/go/msteinert-go-pam/cmd/pam-moduler -type integrationTesterModule -parallel-conv
//go:generate go generate --skip="pam_module.go"
// Package main is the package for the integration tester module PAM shared library.
@@ -10,7 +10,7 @@ import (
"reflect"
"strings"
"git.cloudyne.io/go/msteinert-go-pam/v2/cmd/pam-moduler/tests/internal/utils"
"git.cloudyne.io/go/msteinert-go-pam/cmd/pam-moduler/tests/internal/utils"
)
type integrationTesterModule struct {

View File

@@ -10,7 +10,7 @@ import (
"testing"
"time"
"git.cloudyne.io/go/msteinert-go-pam/v2/cmd/pam-moduler/tests/internal/utils"
"git.cloudyne.io/go/msteinert-go-pam/cmd/pam-moduler/tests/internal/utils"
)
func (r *Request) check(res *Result, expectedResults []interface{}) error {

View File

@@ -16,7 +16,7 @@ import "C"
import (
"errors"
"fmt"
"git.cloudyne.io/go/msteinert-go-pam/v2"
"git.cloudyne.io/go/msteinert-go-pam"
"os"
"unsafe"
)

View File

@@ -3,7 +3,7 @@ package main
import (
"encoding/gob"
"git.cloudyne.io/go/msteinert-go-pam/v2/cmd/pam-moduler/tests/internal/utils"
"git.cloudyne.io/go/msteinert-go-pam/cmd/pam-moduler/tests/internal/utils"
)
// SerializablePamError represents a [pam.Error] in a