assert

package module
v0.0.0-...-60cbbbe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2015 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

assert

GoDoc

Assert byte content by looking at an example and taking into account archetypes

Documentation

Overview

assert byte content by looking at an example and configured archetypes

Index

Constants

This section is empty.

Variables

View Source
var DefaultParserMIME = "plain/text"

Functions

func Follows

func Follows(ex, act []byte, p parser.P) error

Assert whether the given data flollows the example bytes using the given parser

func Parser

func Parser(mime string, ats []*strategy.Archetype) parser.P

Return a parser that is appropriate for the given mime type, if non is found return parser for DefaultParserMIME

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL