mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-04 12:52:28 +08:00
fix: fix goline error
This commit is contained in:
@@ -44,7 +44,11 @@ func ExampleRemoveOsEnv() {
|
||||
}
|
||||
|
||||
func ExampleCompareOsEnv() {
|
||||
SetOsEnv("foo", "abc")
|
||||
err := SetOsEnv("foo", "abc")
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
result1 := CompareOsEnv("foo", "abc")
|
||||
|
||||
fmt.Println(result1)
|
||||
|
||||
Reference in New Issue
Block a user