educative.io

Educative

What is %d? (golang)

Hello! In example a have this string:

  fmt.Printf("%d\n", strings.Count(str, "H")) 

what is %d? I dont read about this in course earlier.

Ok, i am find it. Sorry - https://golang.org/pkg/fmt/

1 Like