package main
import "fmt"
func main() {
type Books struct {
title string
author string
subject string
book_id int
}
s := Books{"ask", "jane", "math", 123}
fmt.Print(s)
}
輸出
{ask jane math 123}