Categorygithub.com/xcd0/json2xml
modulepackage
0.0.3
Repository: https://github.com/xcd0/json2xml.git
Documentation: pkg.go.dev

# README

json2xml

convert json to xml

usage

$ ./json2xml.exe foo.json
$ cat foo.json | ./json2xml.exe

install

go install github.com/xcd0/json2xml@latest

# Functions

No description provided by the author
func GetText(path string) string { b, err := os.ReadFile(path) // https://pkg.go.dev/[email protected]#ReadFile if err != nil { panic(errors.Errorf("Error: %v, file: %v", err, path)) } str := string(b) return str } func GetFilePathWithoutExt(path string) string { return filepath.ToSlash(filepath.Join(filepath.Dir(path), GetFileNameWithoutExt(path))) } */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

# Structs

No description provided by the author
No description provided by the author
XMLをJSON形式に変換するための構造体.