Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eleven26 committed Sep 7, 2022
1 parent 54c9812 commit 5c1c239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ storage := goss.Storage
3. 使用

```go
// storage.Get 会获取路径指定的文件,返回字符串
fmt.Println(storage.Get("test/foo.txt"))
// storage.GetString 会获取路径指定的文件,返回字符串
fmt.Println(storage.GetString("test/foo.txt"))
```


Expand Down

0 comments on commit 5c1c239

Please sign in to comment.