fix comments pointers
This commit is contained in:
@@ -4,7 +4,7 @@ type DocComment struct {
|
||||
value string
|
||||
}
|
||||
|
||||
func NewDocComment(value string) Comment {
|
||||
func NewDocComment(value string) *DocComment {
|
||||
return &DocComment{
|
||||
value,
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ type PlainComment struct {
|
||||
value string
|
||||
}
|
||||
|
||||
func NewPlainComment(value string) Comment {
|
||||
func NewPlainComment(value string) *PlainComment {
|
||||
return &PlainComment{
|
||||
value,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user