MCPcopy Create free account
hub / github.com/egonelbre/exp / String

Method String

htmlrender/dom/html.go:17–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15func NewWriter() Writer { return &writer{} }
16
17func (w *writer) String() string {
18 if len(w.stack) > 0 {
19 panic("writing is not finished")
20 }
21 return w.buf.String()
22}
23
24func (w *writer) Bytes() []byte {
25 if len(w.stack) > 0 {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected