fix: remove pointer in elf Case
This commit is contained in:
parent
e7df875d24
commit
0bfedd4625
|
@ -20,12 +20,12 @@ type Report struct {
|
||||||
|
|
||||||
type Case struct {
|
type Case struct {
|
||||||
Binders []Binder `mapstructure:"binders"`
|
Binders []Binder `mapstructure:"binders"`
|
||||||
Context *string `mapstructure:"context"`
|
Context string `mapstructure:"context"`
|
||||||
Depths *int `mapstructure:"depths"`
|
Depths int `mapstructure:"depths"`
|
||||||
Code *string `mapstructure:"code"`
|
Code string `mapstructure:"code"`
|
||||||
Plain *int `mapstructure:"plain"`
|
Plain int `mapstructure:"plain"`
|
||||||
Weighed *float64 `mapstructure:"weighed"`
|
Weighed float64 `mapstructure:"weighed"`
|
||||||
Detail *string `mapstructure:"detail"`
|
Detail string `mapstructure:"detail"`
|
||||||
SimilarityRate float64 `mapstructure:"similarity_rate"`
|
SimilarityRate float64 `mapstructure:"similarity_rate"`
|
||||||
Sources []Source `mapstructure:"srcs"`
|
Sources []Source `mapstructure:"srcs"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user