摘要: o install it, run: go get gopkg.in/yaml.v3 API documentation If opened in a browser, the import path itself leads to the API documentation: https://go 阅读全文
posted @ 2022-11-30 16:40 技术颜良 阅读(196) 评论(0) 推荐(0) 编辑
摘要: func Confirm(prompt, cancel string) (bool, error) { var yesRx = regexp.MustCompile("^(?:y(?:es)?)$") var noRx = regexp.MustCompile("^(?:n(?:o)?)$") va 阅读全文
posted @ 2022-11-30 14:47 技术颜良 阅读(14) 评论(0) 推荐(0) 编辑
摘要: package clusterfileimport ( "errors" "sync" "github.com/labring/sealos/pkg/runtime" v2 "github.com/labring/sealos/pkg/types/v1beta1")var ErrTypeNotFou 阅读全文
posted @ 2022-11-30 09:56 技术颜良 阅读(95) 评论(0) 推荐(0) 编辑