MCPcopy Create free account
hub / github.com/VirusTotal/vt-cli / NewEncoder

Function NewEncoder

csv/csv.go:30–32  ·  view source on GitHub ↗

NewEncoder returns a new CSV encoder that writes to w.

(w io.Writer)

Source from the content-addressed store, hash-verified

28
29// NewEncoder returns a new CSV encoder that writes to w.
30func NewEncoder(w io.Writer) *Encoder {
31 return &Encoder{w: w}
32}
33
34// Encode writes the CSV encoding of v to the stream.
35func (enc *Encoder) Encode(v interface{}) error {

Callers 2

PrintMethod · 0.92
TestCSVFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestCSVFunction · 0.56