Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed Dec 11, 2021
1 parent 1f811c1 commit de79cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/gh-md-toc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func main() {

for i := 1; i <= pathsCount; i++ {
toc := <-ch
// #14, check if there's realy TOC?
// #14, check if there's really TOC?
if toc != nil {
toc.Print()
}
Expand Down
4 changes: 2 additions & 2 deletions ghdoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// GHToc GitHub TOC
type GHToc []string

// Print print TOC to the console
// Print TOC to the console
func (toc *GHToc) Print() {
for _, tocItem := range *toc {
fmt.Println(tocItem)
Expand Down Expand Up @@ -144,7 +144,7 @@ func (doc *GHDoc) GrabToc() *GHToc {

var tmpSection string
doc.d("GrabToc: processing groups ...")
doc.d("Including starting frome level " + strconv.Itoa(doc.StartDepth))
doc.d("Including starting from level " + strconv.Itoa(doc.StartDepth))
for _, group := range groups {
// format result
n, _ := strconv.Atoi(group["num"])
Expand Down

0 comments on commit de79cb4

Please sign in to comment.