Essential Go / Methods

Run Settings
LanguageGo
Language Version
Run Command
package main import "fmt" type Person struct { FirstName string LastName string } func (p *Person) PrintFullName() { fmt.Printf("%s %s\n", p.FirstName, p.LastName) } func main() { p := &Person{ "John", "Doe", } p.PrintFullName() }
Editor Settings
Theme
Key bindings
Full width
Lines