Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
376 B
Go
Raw Permalink Normal View History

// Copyright IBM Corp. 2020, 2026
// SPDX-License-Identifier: BUSL-1.1
2023-02-02 17:15:17 -08:00
package kms_plugin_assets
import (
"embed"
"io/fs"
)
const contentDir = "assets"
// content is our static web server content.
2022-08-25 09:12:24 -07:00
//
//go:embed assets
var content embed.FS
func FileSystem() fs.FS {
// Remove the root
f, err := fs.Sub(content, contentDir)
if err != nil {
panic(err)
}
return f
}