mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
more gofmt
This commit is contained in:
parent
bf2379355e
commit
cf9de30a23
10 changed files with 21 additions and 21 deletions
|
@ -1,11 +1,11 @@
|
|||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||
//
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// This software (Documize Community Edition) is licensed under
|
||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||
//
|
||||
// You can operate outside the AGPL restrictions by purchasing
|
||||
// Documize Enterprise Edition and obtaining a commercial license
|
||||
// by contacting <sales@documize.com>.
|
||||
// by contacting <sales@documize.com>.
|
||||
//
|
||||
// https://documize.com
|
||||
|
||||
|
@ -37,11 +37,11 @@ func (file *Msword) Convert(r api.DocumentConversionRequest, reply *api.Document
|
|||
|
||||
client := &http.Client{Transport: transport}
|
||||
|
||||
tok,err:=token()
|
||||
tok, err := token()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
resp, err := client.Post(endPoint()+"/api/word?token="+tok, "application/json", bytes.NewReader(byts))
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue