From 32da3b638145294d3363dbecef0493b4e312cb3b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 3 Apr 2012 08:53:45 -0400 Subject: [PATCH] Update package names and import paths --- config/config.go | 2 +- main.go | 5 ++--- server/paths.go | 6 +++--- server/server.go | 4 +--- server/tv_rename.go | 6 +++--- 5 files changed, 10 insertions(+), 13 deletions(-) diff --git a/config/config.go b/config/config.go index 26443b2..75a195b 100644 --- a/config/config.go +++ b/config/config.go @@ -1,7 +1,7 @@ // // Armadillo File Manager // Copyright (c) 2010, Robert Sesek -// +// // This program is free software: you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free Software // Foundation, either version 3 of the License, or any later version. diff --git a/main.go b/main.go index 4ef72df..fec5411 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ // // Armadillo File Manager -// Copyright (c) 2010, Robert Sesek -// +// Copyright (c) 2010-2012, Robert Sesek +// // This program is free software: you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free Software // Foundation, either version 3 of the License, or any later version. @@ -15,7 +15,6 @@ import ( "os" "strings" "./config" - "./paths" "./server" ) diff --git a/server/paths.go b/server/paths.go index ac5e254..9b1d4f9 100644 --- a/server/paths.go +++ b/server/paths.go @@ -1,20 +1,20 @@ // // Armadillo File Manager -// Copyright (c) 2010-2011, Robert Sesek +// Copyright (c) 2010-2012, Robert Sesek // // This program is free software: you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free Software // Foundation, either version 3 of the License, or any later version. // -package paths +package server import ( "container/vector" "os" "path" "strings" - "./config" + "../config" ) var gConfig *config.Configuration diff --git a/server/server.go b/server/server.go index 7da8aae..1dbbbe9 100644 --- a/server/server.go +++ b/server/server.go @@ -19,9 +19,7 @@ import ( "path" "strings" "url" - "./config" - "./paths" - "./tv_rename" + "../config" ) var dir, file = path.Split(path.Clean(os.Getenv("_"))) diff --git a/server/tv_rename.go b/server/tv_rename.go index 62cfd93..b8d0704 100644 --- a/server/tv_rename.go +++ b/server/tv_rename.go @@ -1,13 +1,13 @@ // // Armadillo File Manager -// Copyright (c) 2011, Robert Sesek -// +// Copyright (c) 2011-2012, Robert Sesek +// // This program is free software: you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free Software // Foundation, either version 3 of the License, or any later version. // -package tv_rename +package server import ( "bufio" -- 2.22.5