16 lines
209 B
Go
16 lines
209 B
Go
package comment
|
|
|
|
type PlainComment struct {
|
|
value string
|
|
}
|
|
|
|
func NewPlainComment(value string) *PlainComment {
|
|
return &PlainComment{
|
|
value,
|
|
}
|
|
}
|
|
|
|
func (c *PlainComment) String() string {
|
|
return c.value
|
|
}
|