DEV Community

Bartosz Zielinski
Bartosz Zielinski

Posted on

How does print function usually works?

Golang

import "fmt"

func main() {
  fmt.Println("Hello World");
}

it's kind of easy to write, but not for beginners to understand. You can write this code and call yourself as "programmer" but you must to understand a root of this code.

import "fmt"

"fmt" is just library with useful function. FMT package looks probably so

package fmt 

func Println(String text) String {
  return text
}

Top comments (0)