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: netstat.go
    path of file: ./repos/hubble-ui/backend/vendor/github.com/prometheus/procfs
    
    the code of the file until where you have to start completion: // Copyright 2020 The Prometheus Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICE
    
func parseNetstat(filePath string) (NetStat, error) {
	netStat := NetStat{
		Stats: make(map[string][]uint64),
	}
	file, err := os.Open(filePath)
	if err != nil {
		return netStat, err
	}
	defer file.Close()

	scanner := bufio.NewScanner(file)
	scanner.Scan()

	// First string is always a header for stats
	var headers []string
	headers = append(headers, strings.Fields(scanner.Text())...)

	// Other strings represent per-CPU counters
	for scanner.Scan() {
		for num, counter := range strings.Fields(scanner.Text()) {
			value, err := strconv.ParseUint(counter, 16, 64)
			if err != nil {
				return NetStat{}, err
			}
			netStat.Stats[headers[num]] = append(netStat.Stats[headers[num]], value)
		}
	}

	return netStat, nil
}