MCPcopy
hub / github.com/go-yaml/yaml / nilv

Method nilv

encode.go:410–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

408}
409
410func (e *encoder) nilv() {
411 e.emitScalar("null", "", "", yaml_PLAIN_SCALAR_STYLE, nil, nil, nil, nil)
412}
413
414func (e *encoder) emitScalar(value, anchor, tag string, style yaml_scalar_style_t, head, line, foot, tail []byte) {
415 // TODO Kill this function. Replace all initialize calls by their underlining Go literals.

Callers 2

marshalMethod · 0.95
nodeMethod · 0.95

Calls 1

emitScalarMethod · 0.95

Tested by

no test coverage detected