16 lines
199 B
Go
16 lines
199 B
Go
package comment
|
|
|
|
type DocComment struct {
|
|
value string
|
|
}
|
|
|
|
func NewDocComment(value string) *DocComment {
|
|
return &DocComment{
|
|
value,
|
|
}
|
|
}
|
|
|
|
func (c *DocComment) String() string {
|
|
return c.value
|
|
}
|