diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-03-14 20:52:01 -0400 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-15 08:52:01 +0800 |
commit | 021904e4e65804baa67b38e193e15aa37a391c60 (patch) | |
tree | 5c4f74764048eadd39a51c1b27e9c4937a0d236b /modules/options | |
parent | ec0ae5d50c59315a3c597b1cf24d4c5508c718e5 (diff) | |
download | gitea-021904e4e65804baa67b38e193e15aa37a391c60.tar.gz gitea-021904e4e65804baa67b38e193e15aa37a391c60.zip |
Fix typos in models/ and modules/ (#1248)
Diffstat (limited to 'modules/options')
-rw-r--r-- | modules/options/dynamic.go | 2 | ||||
-rw-r--r-- | modules/options/static.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/options/dynamic.go b/modules/options/dynamic.go index f5235741d1..c56d098a2e 100644 --- a/modules/options/dynamic.go +++ b/modules/options/dynamic.go @@ -76,7 +76,7 @@ func License(name string) ([]byte, error) { return fileFromDir(path.Join("license", name)) } -// Labels eads the content of a specific labels from static or custom path. +// Labels reads the content of a specific labels from static or custom path. func Labels(name string) ([]byte, error) { return fileFromDir(path.Join("label", name)) } diff --git a/modules/options/static.go b/modules/options/static.go index d98253f875..3301f45171 100644 --- a/modules/options/static.go +++ b/modules/options/static.go @@ -72,7 +72,7 @@ func License(name string) ([]byte, error) { return fileFromDir(path.Join("license", name)) } -// Labels eads the content of a specific labels from static or custom path. +// Labels reads the content of a specific labels from static or custom path. func Labels(name string) ([]byte, error) { return fileFromDir(path.Join("label", name)) } |