From 35fc86c289715d3eb3822b35bad7e95019a1c822 Mon Sep 17 00:00:00 2001 From: "Jip J. Dekker" Date: Wed, 16 Mar 2016 23:03:23 +0100 Subject: [PATCH] Adds a global settings structure --- settings/settings.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 settings/settings.go diff --git a/settings/settings.go b/settings/settings.go new file mode 100644 index 0000000..b2d228b --- /dev/null +++ b/settings/settings.go @@ -0,0 +1,23 @@ +// Copyright © 2016 Jip J. Dekker +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package settings + +// Settings provides a structure to interact with the settings +// of a Ponder library +type Settings struct { + Name string // Name of the Ponder library + IgnoreDirs []string // Directories to be ignored on search + LilypondIncludes []string // Directories to be included when running the lilypond compiler +}