Skip to content

Commit 4dcffcb

Browse files
committed
修正代码注释
1 parent 80df8b5 commit 4dcffcb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

directory.go

-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ func (lib *Library) ListDirectoryEntriesWithOption(path string, query url.Values
6363

6464
b, _ := ioutil.ReadAll(resp.Body)
6565

66-
fmt.Println(string(b))
67-
6866
info := []DirectoryEntry{}
6967
//err = json.NewDecoder(resp.Body).Decode(&info)
7068
err = json.Unmarshal(b, &info)

library.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (cli *Client) ListLibrariesByType(libType string) ([]*Library, error) {
8989
return info, nil
9090
}
9191

92-
//获取公共的资料库
92+
//获取指定名称的资料库
9393
func (cli *Client) GetLibrary(name string) (*Library, error) {
9494
libraries, err := cli.ListAllLibraries()
9595
if err != nil {

0 commit comments

Comments
 (0)