From bf2379355e8a27a6afa656ca934b88d38a9dd25d Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Mon, 17 Oct 2016 14:03:20 -0700 Subject: [PATCH] more gofmt --- core/api/convert/convert.go | 6 +++--- core/api/convert/documizeapi/documizeapi.go | 4 ++-- core/api/convert/md/md.go | 6 +++--- core/api/request/organization.go | 2 +- core/api/store/local.go | 6 +++--- core/api/store/local_test.go | 6 +++--- core/api/store/store.go | 6 +++--- core/api/util/encoding.go | 4 ++-- core/api/util/encoding_test.go | 4 ++-- core/api/util/uniqueid.go | 4 ++-- core/convapi/request.go | 4 ++-- core/convapi/response.go | 6 +++--- core/wordlists/en-2012/englishwords.go | 4 ++-- core/wordlists/makewordlist.go | 4 ++-- 14 files changed, 33 insertions(+), 33 deletions(-) diff --git a/core/api/convert/convert.go b/core/api/convert/convert.go index c7662f55..cb6d3250 100644 --- a/core/api/convert/convert.go +++ b/core/api/convert/convert.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com @@ -17,7 +17,7 @@ import ( "github.com/documize/community/core/api/convert/excerpt" "github.com/documize/community/core/api/convert/html" "github.com/documize/community/core/api/plugins" -api "github.com/documize/community/core/convapi" + api "github.com/documize/community/core/convapi" "github.com/documize/community/core/utility" "golang.org/x/net/context" diff --git a/core/api/convert/documizeapi/documizeapi.go b/core/api/convert/documizeapi/documizeapi.go index ffd1e9f4..e22311e2 100644 --- a/core/api/convert/documizeapi/documizeapi.go +++ b/core/api/convert/documizeapi/documizeapi.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com diff --git a/core/api/convert/md/md.go b/core/api/convert/md/md.go index 81c51b94..1c83de4a 100644 --- a/core/api/convert/md/md.go +++ b/core/api/convert/md/md.go @@ -1,18 +1,18 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com package md import ( -api "github.com/documize/community/core/convapi" + api "github.com/documize/community/core/convapi" "github.com/documize/blackfriday" diff --git a/core/api/request/organization.go b/core/api/request/organization.go index 75e1f58b..3deb8bf3 100644 --- a/core/api/request/organization.go +++ b/core/api/request/organization.go @@ -18,9 +18,9 @@ import ( "time" "github.com/documize/community/core/api/entity" - "github.com/documize/community/core/web" "github.com/documize/community/core/log" "github.com/documize/community/core/utility" + "github.com/documize/community/core/web" "github.com/jmoiron/sqlx" ) diff --git a/core/api/store/local.go b/core/api/store/local.go index 8e481940..2f7e9de0 100644 --- a/core/api/store/local.go +++ b/core/api/store/local.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com @@ -21,7 +21,7 @@ import ( "strings" "github.com/documize/community/core/api/convert" -api "github.com/documize/community/core/convapi" + api "github.com/documize/community/core/convapi" "github.com/documize/community/core/log" ) diff --git a/core/api/store/local_test.go b/core/api/store/local_test.go index 5984541a..edf1b070 100644 --- a/core/api/store/local_test.go +++ b/core/api/store/local_test.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com @@ -14,7 +14,7 @@ package store import ( "github.com/documize/community/core/api/plugins" "github.com/documize/community/core/api/util" -api "github.com/documize/community/core/convapi" + api "github.com/documize/community/core/convapi" "github.com/documize/community/core/log" "io/ioutil" "os" diff --git a/core/api/store/store.go b/core/api/store/store.go index dc6a6fe9..f85e20db 100644 --- a/core/api/store/store.go +++ b/core/api/store/store.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com @@ -16,7 +16,7 @@ import ( "strings" "github.com/documize/community/core/api/entity" -api "github.com/documize/community/core/convapi" + api "github.com/documize/community/core/convapi" "github.com/documize/community/core/utility" ) diff --git a/core/api/util/encoding.go b/core/api/util/encoding.go index c68cd994..ae5490e4 100644 --- a/core/api/util/encoding.go +++ b/core/api/util/encoding.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com diff --git a/core/api/util/encoding_test.go b/core/api/util/encoding_test.go index a69e407f..d96993ff 100644 --- a/core/api/util/encoding_test.go +++ b/core/api/util/encoding_test.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com diff --git a/core/api/util/uniqueid.go b/core/api/util/uniqueid.go index f157c6a6..95aea62f 100644 --- a/core/api/util/uniqueid.go +++ b/core/api/util/uniqueid.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com diff --git a/core/convapi/request.go b/core/convapi/request.go index 3e68abbe..9102f91b 100644 --- a/core/convapi/request.go +++ b/core/convapi/request.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com diff --git a/core/convapi/response.go b/core/convapi/response.go index 7f13b56d..2525fbdb 100644 --- a/core/convapi/response.go +++ b/core/convapi/response.go @@ -1,19 +1,19 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com package convapi import ( - "github.com/documize/community/core/log" "encoding/json" + "github.com/documize/community/core/log" "net/http" ) diff --git a/core/wordlists/en-2012/englishwords.go b/core/wordlists/en-2012/englishwords.go index f23a3af1..ac10f3ac 100644 --- a/core/wordlists/en-2012/englishwords.go +++ b/core/wordlists/en-2012/englishwords.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com diff --git a/core/wordlists/makewordlist.go b/core/wordlists/makewordlist.go index 509da38d..f9f5085c 100644 --- a/core/wordlists/makewordlist.go +++ b/core/wordlists/makewordlist.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . 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 . +// by contacting . // // https://documize.com