Fix spelling mistakes, add Go Report Card badge

This commit is contained in:
Billy Keyes
2019-04-14 19:53:39 -07:00
parent ef3359a969
commit d42fb0e93f
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ type TextFragment struct {
Lines []Line
}
// Header returns the cannonical header of this fragment.
// Header returns the canonical header of this fragment.
func (f *TextFragment) Header() string {
return fmt.Sprintf("@@ -%d,%d +%d,%d @@ %s", f.OldPosition, f.OldLines, f.NewPosition, f.NewLines, f.Comment)
}