15 lines
245 B
Go
15 lines
245 B
Go
package data
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
|
|
"github.com/gokyle/twofactor"
|
|
)
|
|
|
|
func TestTOTPBasic(t *testing.T) {
|
|
// This test verifies that we can import and use the twofactor package.
|
|
totp := twofactor.TOTP{}
|
|
fmt.Printf("TOTP: %+v\n", totp)
|
|
}
|