Mercurial > hg > Members > anatofuz > growsync
changeset 14:1e21b0c29775
remove create page msg
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 17 Dec 2020 11:12:04 +0900 |
parents | 7577f95fdbcb |
children | 0dc44ee170b4 |
files | client.go client/page.go version.go |
diffstat | 3 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/client.go Tue Dec 15 18:18:14 2020 +0900 +++ b/client.go Thu Dec 17 11:12:04 2020 +0900 @@ -64,6 +64,7 @@ if page == nil { fmt.Println("[info] create new page", mdPATH) + // WIP create directory return gClient.CreateNewPage(path, mdPATH) }
--- a/client/page.go Tue Dec 15 18:18:14 2020 +0900 +++ b/client/page.go Thu Dec 17 11:12:04 2020 +0900 @@ -4,7 +4,6 @@ "context" "encoding/json" "errors" - "fmt" "net/http" "net/url" "time" @@ -105,7 +104,6 @@ // Create makes a page in your Crowi. The request requires // the path and page content used for the page name func (p *PagesService) Create(ctx context.Context, path, body string) (*PagesCreate, error) { - fmt.Printf("path %s, body %s\n", path, body) params := url.Values{} params.Add("access_token", p.client.config.Token) params.Add("path", path)