Comment style

This commit is contained in:
Tamir Duberstein 2015-05-11 15:44:41 -04:00
parent ffff253524
commit 4f258b3140
6 changed files with 12 additions and 12 deletions

View File

@ -11,7 +11,7 @@ import (
func writeRestore(w io.Writer) error {
_, err := fmt.Fprintf(w, `
// Restore an asset under the given directory
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
@ -36,7 +36,7 @@ func RestoreAsset(dir, name string) error {
return nil
}
// Restore assets under the given directory recursively
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
if err != nil { // File

View File

@ -260,7 +260,7 @@ var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
}},
}}
// Restore an asset under the given directory
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
@ -285,7 +285,7 @@ func RestoreAsset(dir, name string) error {
return nil
}
// Restore assets under the given directory recursively
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
if err != nil { // File

View File

@ -270,7 +270,7 @@ var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
}},
}}
// Restore an asset under the given directory
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
@ -295,7 +295,7 @@ func RestoreAsset(dir, name string) error {
return nil
}
// Restore assets under the given directory recursively
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
if err != nil { // File

View File

@ -211,7 +211,7 @@ var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
}},
}}
// Restore an asset under the given directory
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
@ -236,7 +236,7 @@ func RestoreAsset(dir, name string) error {
return nil
}
// Restore assets under the given directory recursively
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
if err != nil { // File

View File

@ -228,7 +228,7 @@ var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
}},
}}
// Restore an asset under the given directory
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
@ -253,7 +253,7 @@ func RestoreAsset(dir, name string) error {
return nil
}
// Restore assets under the given directory recursively
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
if err != nil { // File

View File

@ -250,7 +250,7 @@ var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
}},
}}
// Restore an asset under the given directory
// RestoreAsset restores an asset under the given directory
func RestoreAsset(dir, name string) error {
data, err := Asset(name)
if err != nil {
@ -275,7 +275,7 @@ func RestoreAsset(dir, name string) error {
return nil
}
// Restore assets under the given directory recursively
// RestoreAssets restores an asset under the given directory recursively
func RestoreAssets(dir, name string) error {
children, err := AssetDir(name)
if err != nil { // File