Skip to content
Snippets Groups Projects
Commit 3ad9af88 authored by Rasmus Dahlberg's avatar Rasmus Dahlberg
Browse files

Make backwards-incompatible change in Format function

parent 793fe94e
Branches
Tags v2.0.0
No related merge requests found
......@@ -2,8 +2,8 @@ package testfn
import "fmt"
func Format(i int) string {
return fmt.Sprintf("%d", i)
func Format(s string, i int) string {
return fmt.Sprintf("%s: %d", s, i)
}
func Add(a, b int) int {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment