func NewMetadata(name, tipe, sep, leftq, rightq string, vs []string) (
	md *Metadata,
) {
	md = &Metadata{
		Name:       name,
		Type:       tipe,
		Separator:  sep,
		LeftQuote:  leftq,
		RightQuote: rightq,
		ValueSpace: vs,
	}
	md.Init()
	return
}
NewMetadata create and return new metadata.
package dsv
import (
	"encoding/json"
	"log"
	"strings"
	"github.com/shuLhan/share/lib/tabula"
)
type Metadata struct {
	Name string `json:"Name"`
	Type string `json:"Type"`
	T int
	Separator string `json:"Separator"`
	LeftQuote string `json:"LeftQuote"`
	RightQuote string `json:"RightQuote"`
	Skip bool `json:"Skip"`
	ValueSpace []string `json:"ValueSpace"`
}