updated copyright notice at the top of the files

This commit is contained in:
Philipp Häfelfinger 2019-03-23 22:40:56 +01:00
parent 21a3e08478
commit 9ab0ddb2d0
13 changed files with 66 additions and 0 deletions

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package app package app
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package app package app
import ( import (
@ -14,6 +19,7 @@ type appContext struct {
localRootPath string localRootPath string
} }
func (c *appContext) UseMetadataStore(connectionString string) error { func (c *appContext) UseMetadataStore(connectionString string) error {
if connectionString == "" { if connectionString == "" {
return errors.New("missing connectionString to use metadata store!") return errors.New("missing connectionString to use metadata store!")

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package app package app
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package app package app
//go:generate mockgen -destination=./datastore_mock_test.go -package=app git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/app ImageMetadataProvider //go:generate mockgen -destination=./datastore_mock_test.go -package=app git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/app ImageMetadataProvider

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package app package app
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package localFileStructure package localFileStructure
import "testing" import "testing"

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package localFileStructure package localFileStructure
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package localFileStructure package localFileStructure
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package localFileStructure package localFileStructure
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package piwigo package piwigo
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package piwigo package piwigo
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package piwigo package piwigo
import ( import (

View File

@ -1,3 +1,8 @@
/*
* Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved.
* This application is licensed under GPLv2. See the LICENSE file in the root directory of the project.
*/
package piwigo package piwigo
type responseStatuser interface { type responseStatuser interface {