formatted / restructured app folder

This commit is contained in:
Philipp Häfelfinger 2019-02-23 22:02:12 +01:00
parent 894a039591
commit 37f6aefe5e
6 changed files with 18 additions and 20 deletions

View File

@ -3,7 +3,7 @@ package main
import ( import (
"flag" "flag"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"haefelfinger.net/piwigo/DirectoriesToAlbums/internal/app/DirectoriesToAlbums" "haefelfinger.net/piwigo/DirectoriesToAlbums/internal/app"
"os" "os"
) )

View File

@ -20,7 +20,7 @@ func ScanLocalFileStructure(path string) map[string]FileNode {
name: info.Name(), name: info.Name(),
isDir: info.IsDir(), isDir: info.IsDir(),
} }
return nil; return nil
}) })
if err != nil { if err != nil {

View File

@ -5,4 +5,3 @@ type FileNode struct {
name string name string
isDir bool isDir bool
} }

View File

@ -5,4 +5,3 @@ type PiwigoConfig struct {
username string username string
password string password string
} }