Files
wangxiaolei d1217bac9b feat: add prometheus metric (#567)
* feat: add prometheus metric

* feat: add switch PrometheusEnabled

* chore: change metric collect position
2026-04-07 09:53:29 +08:00

9 lines
188 B
Go

package parser
func MarshalPluginID(author string, name string, version string) string {
if author == "" {
return name + ":" + version
}
return author + "/" + name + ":" + version
}