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