Source File
writerc.go
Belonging Package
gopkg.in/yaml.v2
package yaml
func ( *yaml_emitter_t, string) bool {
.error = yaml_WRITER_ERROR
.problem =
return false
}
func ( *yaml_emitter_t) bool {
if .write_handler == nil {
panic("write handler not set")
}
if .buffer_pos == 0 {
return true
}
if := .write_handler(, .buffer[:.buffer_pos]); != nil {
return yaml_emitter_set_writer_error(, "write error: "+.Error())
}
.buffer_pos = 0
return true
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |