File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ func (p *Protocol) String() string {
2525 builder := strings.Builder {}
2626 builder .WriteString (fmt .Sprintf ("syntax = \" %s\" \n " , p .Syntax ))
2727 builder .WriteString (fmt .Sprintf ("info (\n " ))
28- builder .WriteString (fmt .Sprintf ("%sauthor: %s \n " , tools .Blank (consts .IndentZero ), p .author ))
29- builder .WriteString (fmt .Sprintf ("%sdate: %s \n " , tools .Blank (consts .IndentZero ), p .date .Format (time .DateOnly )))
28+ builder .WriteString (fmt .Sprintf ("%sauthor: \" %s \" \n " , tools .Blank (consts .IndentZero ), p .author ))
29+ builder .WriteString (fmt .Sprintf ("%sdate: \" %s \" \n " , tools .Blank (consts .IndentZero ), p .date .Format (time .DateOnly )))
3030 builder .WriteString (fmt .Sprintf (")\n \n " ))
3131 builder .WriteString ("\n //----------------------types define----------------------\n " )
3232 msgs := make ([]protocol.Message , 0 , len (p .Messages ))
You can’t perform that action at this time.
0 commit comments