use lowercase initials for type names

This commit is contained in:
Gokcehan committed 2016-12-18 00:47:37 +03:00
1 parent 8ae5f838c7
commit e532db082f
10 files changed
+292 -292

No files matched your search

+5 -5
View File
@@ -20,7 +20,7 @@ var (
)
var (
gClientId int
gClientID int
gLastDirPath string
gSelectionPath string
gSocketPath string
@@ -51,11 +51,11 @@ func init() {
gSocketPath = filepath.Join(tmp, fmt.Sprintf("lf.%s.sock", envUser))
gClientId = 1000
gLogPath = filepath.Join(tmp, fmt.Sprintf("lf.%s.%d.log", envUser, gClientId))
gClientID = 1000
gLogPath = filepath.Join(tmp, fmt.Sprintf("lf.%s.%d.log", envUser, gClientID))
for _, err := os.Stat(gLogPath); err == nil; _, err = os.Stat(gLogPath) {
gClientId++
gLogPath = filepath.Join(tmp, fmt.Sprintf("lf.%s.%d.log", envUser, gClientId))
gClientID++
gLogPath = filepath.Join(tmp, fmt.Sprintf("lf.%s.%d.log", envUser, gClientID))
}
gServerLogPath = filepath.Join(tmp, fmt.Sprintf("lf.%s.server.log", envUser))