fix comments pointers

This commit is contained in:
z7zmey
2018-01-08 21:50:39 +02:00
parent 4ecb9edbd8
commit b7b859edaa
163 changed files with 426 additions and 430 deletions

View File

@@ -4,7 +4,7 @@ type DocComment struct {
value string
}
func NewDocComment(value string) Comment {
func NewDocComment(value string) *DocComment {
return &DocComment{
value,
}

View File

@@ -4,7 +4,7 @@ type PlainComment struct {
value string
}
func NewPlainComment(value string) Comment {
func NewPlainComment(value string) *PlainComment {
return &PlainComment{
value,
}