Rename module
This commit is contained in:
parent
9e265f9c7d
commit
c65dfddbc0
|
@ -0,0 +1,8 @@
|
||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="DiscordProjectSettings">
|
||||||
|
<option name="show" value="PROJECT_FILES" />
|
||||||
|
<option name="description" value="" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="Go" enabled="true" />
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/go-mclookup.iml" filepath="$PROJECT_DIR$/.idea/go-mclookup.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -16,7 +16,7 @@ func main() {
|
||||||
result, err := mclookup.LookupPlayer(os.Args[i])
|
result, err := mclookup.LookupPlayer(os.Args[i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("\rFail: %s\n", os.Args[i])
|
fmt.Printf("\rFail: %s\n", os.Args[i])
|
||||||
fmt.Fprintln(os.Stderr, "Internal error:", err)
|
_, _ = fmt.Fprintln(os.Stderr, "Internal error:", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
fmt.Printf("\rDone: %s -- %s\n", result.Data.Player.ID, result.Data.Player.Username)
|
fmt.Printf("\rDone: %s -- %s\n", result.Data.Player.ID, result.Data.Player.Username)
|
||||||
|
@ -31,13 +31,13 @@ func main() {
|
||||||
result, err := mclookup.LookupPlayer(scanner.Text())
|
result, err := mclookup.LookupPlayer(scanner.Text())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("\rFail: %s\n", scanner.Text())
|
fmt.Printf("\rFail: %s\n", scanner.Text())
|
||||||
fmt.Fprintln(os.Stderr, "Internal error:", err)
|
_, _ = fmt.Fprintln(os.Stderr, "Internal error:", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
fmt.Printf("\rDone: %s -- %s\n", result.Data.Player.ID, result.Data.Player.Username)
|
fmt.Printf("\rDone: %s -- %s\n", result.Data.Player.ID, result.Data.Player.Username)
|
||||||
}
|
}
|
||||||
if err := scanner.Err(); err != nil {
|
if err := scanner.Err(); err != nil {
|
||||||
fmt.Fprintln(os.Stderr, "Failed to read pipe:", err)
|
_, _ = fmt.Fprintln(os.Stderr, "Failed to read pipe:", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue