Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProtocVersion ¶
func ToArrayString ¶ added in v0.12.0
ToArrayString convert to array string format [0:aaa,1:bbb,3:ccc]
Types ¶
type CommentLines ¶ added in v0.12.0
type CommentLines []string
CommentLines comment the line like `// xxxx`
func NewCommentLines ¶ added in v0.12.0
func NewCommentLines(s protogen.Comments) CommentLines
func (*CommentLines) Append ¶ added in v0.12.0
func (c *CommentLines) Append(s string) CommentLines
func (CommentLines) Derives ¶ added in v0.12.2
func (c CommentLines) Derives() (annotation.Derives, CommentLines)
Derives all match the derive and remaining comment lines.
func (CommentLines) FindDerives ¶ added in v0.12.2
func (c CommentLines) FindDerives(identity string) (annotation.Derives, CommentLines)
Annotations find `identity` match the annotation and remaining comment lines.
func (CommentLines) LineString ¶ added in v0.12.0
func (c CommentLines) LineString() string
LineString one line string.
func (CommentLines) String ¶ added in v0.12.0
func (c CommentLines) String() string
Click to show internal directories.
Click to hide internal directories.