Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2014-10-21 01:42:16 +0400
committerspf13 <steve.francia@gmail.com>2014-10-21 01:42:16 +0400
commit93f3d604c6403c9e018a55590cfb30bc06f670dd (patch)
treec39ec4a278ee16a1291712db530292e9cc4855b3 /hugolib/handler_file.go
parent8bd0ffba439c1df2e98113dffbee5203fd004e6f (diff)
Handlers WIP
Diffstat (limited to 'hugolib/handler_file.go')
-rw-r--r--hugolib/handler_file.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/hugolib/handler_file.go b/hugolib/handler_file.go
new file mode 100644
index 000000000..32df80661
--- /dev/null
+++ b/hugolib/handler_file.go
@@ -0,0 +1,23 @@
+// Copyright © 2014 Steve Francia <spf@spf13.com>.
+//
+// Licensed under the Simple Public 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://opensource.org/licenses/Simple-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 hugolib
+
+import "github.com/spf13/hugo/source"
+
+var Filer interface {
+ Read(*source.File)
+ Render()
+ Convert()
+ Extensions() []string
+}