GitBook dual pane layout.
Methods allow you to smoothly display code examples in different languages.
My first method
My first method exposes how to print a message in JavaScript and Go.
Here is how to print a message to stdout
using JavaScript.
console.log('My first method');
Here is how to print a message to stdout
using Go.
fmt.Println("My first method")
Whatever language you are using, the result will be the same.
$ My first method