mcl, docs: Use the less ambiguous form of the import
Update the style guide as well!
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
import "fmt"
|
||||
import "os"
|
||||
import "golang/strings"
|
||||
import "golang/strings" as golang_strings
|
||||
import "example"
|
||||
|
||||
$input = example.str2int(strings.trim_space(os.readfile("/tmp/cpu-count")))
|
||||
$input = example.str2int(golang_strings.trim_space(os.readfile("/tmp/cpu-count")))
|
||||
$count = if $input > 8 {
|
||||
8
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user