Skip to content
Prev Previous commit
Next Next commit
add: ks package
  • Loading branch information
sshaplygin committed Dec 25, 2023
commit ce22c4bc79f8415401a7c6e41c9f21f1cbb88157
9 changes: 9 additions & 0 deletions ks/ks.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package ks

func Validate(ks string) (bool, error) {
panic("not implemented!")
}

func Generate() string {
panic("not implemented!")
}
20 changes: 20 additions & 0 deletions ks/ks_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package ks

import (
"testing"

"github.com/stretchr/testify/require"
)

func Test_Validete(t *testing.T) {
require.Panics(t, func() {
_, err := Validate("")
require.NoError(t, err)
})
}

func Test_Generate(t *testing.T) {
require.Panics(t, func() {
Generate()
})
}