<commit_before>// +build windows

package main

import (
	"fmt"
	"syscall"
)

type Proc struct {
	Pid uint64
}

func GetProcList() ([]Proc, error) {
	ret := make([]Proc, 0)
	kernel32, err := syscall.LoadLibrary("kernel32.dll")
	if err != nil {
		return ret, err
	}
	defer syscall.FreeLibrary(kernel32)
	Process32First, _ := syscall.GetProcAddress(kernel32, "Process32First")

	//	pFirst, _, err := syscall.Syscall(uintptr(Process32First), 0, 0, 0, 0)
	pFirst, _, err := syscall.Syscall(uintptr(Process32First), 0, 0, 0, 0)
	if err != nil {
		return ret, err
	}
	fmt.Printf("Proc: %v\n", pFirst)
	return ret, nil

}<commit_msg>remove unused func.<commit_after>// +build windows

package main

import (
	"syscall"
)

var (
	modKernel32 = syscall.NewLazyDLL("kernel32.dll")
)
{'fraction_non_alphanumeric': 0.15414507772020725, 'fraction_numerical': 0.04015544041450777, 'mean_word_length': 4.368055555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7511316', 'n_tokens_mistral': 334, 'n_tokens_neox': 286, 'n_words': 72}