fix: remove pointer in elf Case

This commit is contained in:
张泊明518370910136 2024-06-15 01:01:57 -04:00
parent e7df875d24
commit 0bfedd4625
GPG Key ID: D47306D7062CDA9D

View File

@ -20,12 +20,12 @@ type Report struct {
type Case struct {
Binders []Binder `mapstructure:"binders"`
Context *string `mapstructure:"context"`
Depths *int `mapstructure:"depths"`
Code *string `mapstructure:"code"`
Plain *int `mapstructure:"plain"`
Weighed *float64 `mapstructure:"weighed"`
Detail *string `mapstructure:"detail"`
Context string `mapstructure:"context"`
Depths int `mapstructure:"depths"`
Code string `mapstructure:"code"`
Plain int `mapstructure:"plain"`
Weighed float64 `mapstructure:"weighed"`
Detail string `mapstructure:"detail"`
SimilarityRate float64 `mapstructure:"similarity_rate"`
Sources []Source `mapstructure:"srcs"`
}