change: remove har2case, move all features to go version

This commit is contained in:
debugtalk
2022-03-26 11:09:32 +08:00
parent a5f7eea9c3
commit e382f692e4
16 changed files with 22 additions and 865 deletions

View File

@@ -231,6 +231,7 @@ func Interface2Float64(i interface{}) (float64, error) {
var ErrUnsupportedFileExt = fmt.Errorf("unsupported file extension")
// LoadFile loads file content with file extension and assigns to structObj
func LoadFile(path string, structObj interface{}) (err error) {
log.Info().Str("path", path).Msg("load file")
file, err := readFile(path)