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: blkio_device.go
    path of file: ./repos/podman/vendor/github.com/opencontainers/runc/libcontainer/configs
    
    the code of the file until where you have to start completion: package configs

import "fmt"

// BlockIODevice holds major:minor format supported in blkio cgroup.
type Bl
    
func NewWeightDevice(major, minor int64, weight, leafWeight uint16) *WeightDevice {
	wd := &WeightDevice{}
	wd.Major = major
	wd.Minor = minor
	wd.Weight = weight
	wd.LeafWeight = leafWeight
	return wd
}