func (c Conflict) Format(t format.OutputType) string {
	buf := new(bytes.Buffer)
	fmt.Fprintf(buf, format.Table(t, []string{"Conflict", ""}, c.Problem))
	fmt.Fprintf(buf, format.Table(t, []string{}, [][]string{
		{"Twist", c.Twist},
		{"Restraint", c.Restraint},
	}))
	return buf.String()
}
Format conflict c as type t
package content
import (
	"bytes"
	"fmt"
	"github.com/nboughton/go-roll"
	"github.com/nboughton/swnt/content/format"
	"github.com/nboughton/swnt/content/table"
)
type Conflict struct {
	Restraint string
	Twist     string
	Problem   [][]string
}
func NewConflict() Conflict {
	return Conflict{
		Restraint: conflictTable.restraint.Roll(),
		Twist:     conflictTable.twist.Roll(),
		Problem:   conflictTable.problem.Roll(),
	}
}