func HeadObject(c *oss.Client, opath string) { header, err := c.HeadObject(opath) if err != nil { log.Fatalln(err) } fmt.Printf("%+v\n", header) }