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: type_convert.go
    path of file: ./repos/gocryptotrader/exchanges/binanceus
    
    the code of the file until where you have to start completion: package binanceus

import (
	"encoding/json"
	"time"
)

// UnmarshalJSON deserialises the JSON info, including the time
    
func (a *SubAccountStatus) UnmarshalJSON(data []byte) error {
	type Alias SubAccountStatus
	chil := &struct {
		*Alias
		InsertTime int64 `json:"insertTime"`
	}{
		Alias: (*Alias)(a),
	}
	if er := json.Unmarshal(data, chil); er != nil {
		return er
	}
	if chil.InsertTime > 0 {
		a.InsertTime = time.UnixMilli(chil.InsertTime)
	}
	return nil
}