mirror of
https://github.com/duke-git/lancet.git
synced 2026-03-01 00:35:28 +08:00
fix: fix goline error
This commit is contained in:
1 parent
d8505d1a5f
commit
d9c6294775
5 files changed
+47
-14
No files matched your search
@@ -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