Commit 7f349cd9 authored by Kirill Smelkov's avatar Kirill Smelkov

*: Minimal fixes so that program documentation renders under godoc properly

- remove blank line between main description and package clause, so that
  the main description is understood as such;
- move notes describing what a file does after package clause, so that
  those notes do not get mixed into program description under godoc.
parent 0b8d834b
...@@ -64,7 +64,6 @@ NOTE the idea of pulling all refs together is similar to git-namespaces ...@@ -64,7 +64,6 @@ NOTE the idea of pulling all refs together is similar to git-namespaces
We do likewise if a ref points to tree or blob, which is valid in Git. We do likewise if a ref points to tree or blob, which is valid in Git.
*/ */
package main package main
import ( import (
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms. // See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options. // See https://www.nexedi.com/licensing for rationale and options.
// Git-backup | Run git subprocess
package main package main
// Git-backup | Run git subprocess
import ( import (
"bytes" "bytes"
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms. // See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options. // See https://www.nexedi.com/licensing for rationale and options.
// Git-backup | Git object: Blob Tree Commit Tag
package main package main
// Git-backup | Git object: Blob Tree Commit Tag
import ( import (
"errors" "errors"
......
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
// See COPYING file for full licensing terms. // See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options. // See https://www.nexedi.com/licensing for rationale and options.
package main
// Git-backup | Set "template" type // Git-backup | Set "template" type
// TODO -> go:generate + template // TODO -> go:generate + template
package main
// Set<Sha1> // Set<Sha1>
type Sha1Set map[Sha1]struct{} type Sha1Set map[Sha1]struct{}
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms. // See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options. // See https://www.nexedi.com/licensing for rationale and options.
// Git-backup | Sha1 type to work with SHA1 oids
package main package main
// Git-backup | Sha1 type to work with SHA1 oids
import ( import (
"bytes" "bytes"
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms. // See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options. // See https://www.nexedi.com/licensing for rationale and options.
// Git-backup | Miscellaneous utilities
package main package main
// Git-backup | Miscellaneous utilities
import ( import (
"encoding/hex" "encoding/hex"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment