Documentation
¶
Index ¶
Constants ¶
View Source
const ( AnnotationPath = "path" // jsonpath AnnotationDocument = "document" // begin document AnnotationTitle = "title" // for markdown heading: # )
Variables ¶
View Source
var (
ErrDocument = errors.New("DocumentError")
)
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Comment ¶
func (*Comment) GetAnnotation ¶
func (c *Comment) GetAnnotation(key string) (*Annotation, bool)
func (*Comment) GetDocument ¶
type Document ¶
type DocumentMap ¶
type DocumentSet ¶
type DocumentSet struct {
// contains filtered or unexported fields
}
func NewDocumentSet ¶
func NewDocumentSet(doc ...*Document) *DocumentSet
func (*DocumentSet) IntoFiles ¶
func (s *DocumentSet) IntoFiles(root string) error
func (*DocumentSet) Keys ¶
func (s *DocumentSet) Keys() []string
func (*DocumentSet) MarshalJSON ¶
func (s *DocumentSet) MarshalJSON() ([]byte, error)
func (*DocumentSet) UnmarshalJSON ¶
func (s *DocumentSet) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.