What does this program print after copying the struct?

from Structs
Go 1.27 beginner 2 min

What does this program print after copying the struct?

Go
package main

import "fmt"

type Record struct {
    Name   string
    Labels []string
}

func main() {
    original := Record{"draft", []string{"new"}}
    copied := original
    copied.Name = "copy"
    copied.Labels[0] = "reviewed"
    fmt.Println(original.Name, original.Labels[0])
}
Open in playground
Report an error