Skip to content

Commit

Permalink
Change package name so godoc generates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovidiu-Florin Bogdan committed Mar 29, 2018
1 parent 11b25e1 commit cb6caf6
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions for/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ There's nothing new so far, so try and write it yourself for practice.
## Write the test first

```go
package main
package iteration

import "testing"

Expand All @@ -34,7 +34,7 @@ _Keep the discipline!_ You don't need to know anything new right now to make the
All you need to do right now is enough to make it compile so you can check your test is written well.

```go
package main
package iteration

func Repeat(character string) string {
return ""
Expand Down
2 changes: 1 addition & 1 deletion for/v1/repeat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package iteration

func Repeat(character string) string {
var repeated string
Expand Down
2 changes: 1 addition & 1 deletion for/v1/repeat_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package iteration

import "testing"

Expand Down
2 changes: 1 addition & 1 deletion for/v2/repeat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package iteration

const repeatCount = 5

Expand Down
2 changes: 1 addition & 1 deletion for/v2/repeat_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package iteration

import "testing"

Expand Down
2 changes: 1 addition & 1 deletion for/vx/repeat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package iteration

const repeatCount = 5

Expand Down
2 changes: 1 addition & 1 deletion for/vx/repeat_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package iteration

import "testing"

Expand Down

0 comments on commit cb6caf6

Please sign in to comment.