Skip to content

fix(term): prefer the use of the os package rather than syscall - #705

Merged
EtienneM merged 1 commit into
masterfrom
fix/704/windows_compilation
Nov 10, 2021
Merged

EtienneM merged 1 commit into
masterfrom
fix/704/windows_compilation

Conversation

@EtienneM

Copy link
Copy Markdown
Member

The syscall package documentation states:

Package syscall contains an interface to the low-level operating system primitives. The details vary depending on the underlying system. [...] The primary use of syscall is inside other packages that provide a more portable interface to the system, such as "os", "time" and "net". Use those packages rather than this one if you can.

https://pkg.go.dev/syscall

With this PR, the CLI compiles again on all OS

The syscall package documentation states:

> Package syscall contains an interface to the low-level operating system primitives. The details vary depending on the underlying system. [...] The primary use of syscall is inside other packages that provide a more portable interface to the system, such as "os", "time" and "net". Use those packages rather than this one if you can.

https://pkg.go.dev/syscall

With this PR, the CLI compiles again on all OS
@EtienneM
EtienneM marked this pull request as ready for review November 10, 2021 14:12

@curzolapierre curzolapierre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants