8000 Error in Chinese operating system · Issue #3 · wille/osutil · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Chinese operating system #3

Open
millken opened this issue Feb 24, 2020 · 1 comment
Open

Error in Chinese operating system #3

millken opened this issue Feb 24, 2020 · 1 comment
Labels

Comments

@millken
Copy link
millken commented Feb 24, 2020
package main

import (
	"fmt"

	"github.com/wille/osutil"
)

func main() {
	fmt.Println(osutil.GetDisplay())
}

panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
github.com/wille/osutil.GetVersion(0x43b461, 0x5a5ea0)
E:/Home/go/pkg/mod/github.com/wille/osutil@v0.0.0-20190526221756-e91b8656e290/os_windows.go:41 +0x32c
github.com/wille/osutil.GetDisplay(...)
E:/Home/go/pkg/mod/github.com/wille/osutil@v0.0.0-20190526221756-e91b8656e290/os_windows.go:69

cmd>ver

Microsoft Windows [版本 10.0.18362.657]
@wille wille added the bug label Jul 21, 2020
@cupen
Copy link
cupen commented May 26, 2022

@millken Hello, I make a pr for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
0