Skip to content

Commit 7a384e9

Browse files
committed
feat(store-types): Embed latest store_types.json
Signed-off-by: spbsoluble <[email protected]>
1 parent 8581724 commit 7a384e9

File tree

5 files changed

+3661
-3657
lines changed

5 files changed

+3661
-3657
lines changed

cmd/root.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ import (
2929
"golang.org/x/crypto/bcrypt"
3030
)
3131

32-
//go:embed store_types.json
33-
var EmbeddedStoreTypesJSON []byte
34-
3532
var (
3633
configFile string
3734
profile string

cmd/storeTypes.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
package cmd
1616

1717
import (
18+
_ "embed"
1819
"encoding/json"
1920
"fmt"
2021
"io"
@@ -29,6 +30,9 @@ import (
2930
"github.com/spf13/cobra"
3031
)
3132

33+
//go:embed store_types.json
34+
var EmbeddedStoreTypesJSON []byte
35+
3236
var storeTypesCmd = &cobra.Command{
3337
Use: "store-types",
3438
Short: "Keyfactor certificate store types APIs and utilities.",

cmd/store_types.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)