最近发布的主题
最近发布的文章
最近分享的资源
暂无
最近发布的项目
暂无
最近的评论
-
评论了主题 go编译dll@lysShub 感谢,我试一试。
-
评论了主题 在Go中解析相同父标签下不同标签的XMLMy problem can be easily solved by using slices. The following code is the corresponding structure. ``` type Level struct { Name string `xml:"name,attr"` } type Handler struct { Name string `xml:"name,attr"` } type Handlers struct { Handler []Handler `xml:"handler"` } type RootLogger struct { Level Level `xml:"level"` Handler Handlers `xml:"handlers"` } type DeploymentScanner struct { Path string `xml:"path,attr"` RelativeTo string `xml:"relative-to,attr"` ScanInterval string `xml:"scan-interval,attr"` } type Subsystem struct { XMLName xml.Name RootLogger []RootLogger `xml:"root-logger"` DeploymentScanner []DeploymentScanner `xml:"deployment-scanner"` } type Profile struct { Subsystem []Subsystem `xml:"subsystem"` } ``` [Go Playground][1] [1]: https://go.dev/play/p/usSst47Bm17
-
评论了主题 go编译dll@cwww3 plugin包我知道的,但是它并不支持windows操作系统,我这里希望能够调用go编译出来的dll文件中的函数,来实现windows系统上类似插件的功能。有没有什么好的办法呢?