package main import "fmt" type Job struct { Attempts int Done bool } func main() { var job Job job.Attempts++ fmt.Println(job.Attempts, job.Done) }