Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverrideLanguageCommentStyle ¶ added in v0.3.0
Types ¶
type CommentStyle ¶
type CommentStyle struct {
ID string `yaml:"id"`
After string `yaml:"after"`
Start string `yaml:"start"`
Middle string `yaml:"middle"`
End string `yaml:"end"`
EnsureAfter string `yaml:"ensure_after"`
EnsureBefore string `yaml:"ensure_before"`
}
func FileCommentStyle ¶
func FileCommentStyle(filename string) *CommentStyle
func (*CommentStyle) Validate ¶
func (style *CommentStyle) Validate() error
Click to show internal directories.
Click to hide internal directories.