You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bucket.go
    path of file: ./repos/DocHub/vendor/github.com/mozillazg/go-cos
    
    the code of the file until where you have to start completion: package cos

import (
	"context"
	"encoding/xml"
	"net/http"
)

// BucketService ...
//
// Bucket 相关 API
type BucketService service

// BucketGetResult ...
type BucketGetResult struct {
	XMLName        xml.Name `xml:"ListBucketResult"`
	Name           string
	Pre
    
func (s *BucketService) Get(ctx context.Context, opt *BucketGetOptions) (*BucketGetResult, *Response, error) {
	var res BucketGetResult
	sendOpt := sendOptions{
		baseURL:  s.client.BaseURL.BucketURL,
		uri:      "/",
		method:   http.MethodGet,
		optQuery: opt,
		result:   &res,
	}
	resp, err := s.client.send(ctx, &sendOpt)
	return &res, resp, err
}