How to quickly get help for go command

Hi all,

How can I quickly get to know the go command either in terminal or IDE like goland. for example, how can I get help for runtime.Gosched() command? (I know I definately can google it :))

Thanks
James

1 Like

You can use go doc.

go doc runtime will show you the package doc of the runtime package and a list of its functions.

go doc runtime.Gosched will show you the doc of the function.

1 Like

Thanks!!

1 Like

in go1.12.6 on Windows XP SP3 aren’t found in kernel32.dll

Sorry @rot13 for quoting you despite deleting the post, but please remember that Windows XP isn’t supported at all, Windows 7 is the minimum version of windows that is supported by go according to the system requirements:

1 Like

1.12 is 1.11 or later, so even according to the link you posted you need to get rid of XP and install Win7 at least.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.