This is an automated email from the ASF dual-hosted git repository. linkinstar pushed a commit to branch embed in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git
commit 291af8cfa76a4d7cb3687511eda16aca72ce59f0 Author: LinkinStars <[email protected]> AuthorDate: Tue Jun 11 12:00:52 2024 +0800 feat(embed-basic): add components build embed --- embed-basic/basic.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/embed-basic/basic.go b/embed-basic/basic.go index 3abfebb..5c48dab 100644 --- a/embed-basic/basic.go +++ b/embed-basic/basic.go @@ -20,11 +20,15 @@ package embed_basic import ( + "embed" "encoding/json" "github.com/apache/incubator-answer-plugins/embed-basic/i18n" "github.com/apache/incubator-answer/plugin" ) +//go:embed components +var Build embed.FS + type Embed struct { Config *EmbedConfig }
