Rename xsearch -> xSearch

This commit is contained in:
178inaba 2017-05-03 02:29:15 +09:00
parent e5d11f63aa
commit 6bbd57e848
2 changed files with 3 additions and 3 deletions

View File

@ -5,5 +5,5 @@ import (
)
func cmdMikami(c *cli.Context) error {
return xsearch(c.App.Metadata["xsearch_url"].(string), "三上", c.App.Writer)
return xSearch(c.App.Metadata["xsearch_url"].(string), "三上", c.App.Writer)
}

View File

@ -10,10 +10,10 @@ import (
)
func cmdXSearch(c *cli.Context) error {
return xsearch(c.App.Metadata["xsearch_url"].(string), c.Args().First(), c.App.Writer)
return xSearch(c.App.Metadata["xsearch_url"].(string), c.Args().First(), c.App.Writer)
}
func xsearch(xsearchRawurl, query string, w io.Writer) error {
func xSearch(xsearchRawurl, query string, w io.Writer) error {
u, err := url.Parse(xsearchRawurl)
if err != nil {
return err