migration: migrate NodeJS code base to Golang

This commit is contained in:
Mickael Kerjean
2018-07-18 14:20:30 +10:00
parent c5f2839fd7
commit 04c97e34fb
68 changed files with 3837 additions and 2217 deletions

8
server/common/files.go Normal file
View File

@ -0,0 +1,8 @@
package common
func IsDirectory(path string) bool {
if string(path[len(path)-1]) != "/" {
return false
}
return true
}