diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-01-02 11:58:32 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-01-02 14:25:37 +0100 |
commit | ce8a09a4c0661dece931ab1173e4f09e8e04aa38 (patch) | |
tree | 870372211e342312d0ab3034ee03285c6f698f9d /tpl | |
parent | 669ada436787311cc5d02dae5b88e60a09adda58 (diff) |
resources: Move resource interfaces into its own package
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/resources/resources.go | 18 | ||||
-rw-r--r-- | tpl/transform/unmarshal.go | 4 | ||||
-rw-r--r-- | tpl/transform/unmarshal_test.go | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/tpl/resources/resources.go b/tpl/resources/resources.go index 497611b75..d32e12a05 100644 --- a/tpl/resources/resources.go +++ b/tpl/resources/resources.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Hugo Authors. All rights reserved. +// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,14 +22,14 @@ import ( _errors "github.com/pkg/errors" "github.com/gohugoio/hugo/deps" - "github.com/gohugoio/hugo/resource" - "github.com/gohugoio/hugo/resource/resource_factories/bundler" - "github.com/gohugoio/hugo/resource/resource_factories/create" - "github.com/gohugoio/hugo/resource/resource_transformers/integrity" - "github.com/gohugoio/hugo/resource/resource_transformers/minifier" - "github.com/gohugoio/hugo/resource/resource_transformers/postcss" - "github.com/gohugoio/hugo/resource/resource_transformers/templates" - "github.com/gohugoio/hugo/resource/resource_transformers/tocss/scss" + "github.com/gohugoio/hugo/resources/resource" + "github.com/gohugoio/hugo/resources/resource_factories/bundler" + "github.com/gohugoio/hugo/resources/resource_factories/create" + "github.com/gohugoio/hugo/resources/resource_transformers/integrity" + "github.com/gohugoio/hugo/resources/resource_transformers/minifier" + "github.com/gohugoio/hugo/resources/resource_transformers/postcss" + "github.com/gohugoio/hugo/resources/resource_transformers/templates" + "github.com/gohugoio/hugo/resources/resource_transformers/tocss/scss" "github.com/spf13/cast" ) diff --git a/tpl/transform/unmarshal.go b/tpl/transform/unmarshal.go index c27a21a9e..da06b6aa1 100644 --- a/tpl/transform/unmarshal.go +++ b/tpl/transform/unmarshal.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Hugo Authors. All rights reserved. +// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import ( "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/parser/metadecoders" - "github.com/gohugoio/hugo/resource" + "github.com/gohugoio/hugo/resources/resource" "github.com/pkg/errors" "github.com/spf13/cast" diff --git a/tpl/transform/unmarshal_test.go b/tpl/transform/unmarshal_test.go index d9ebd1f89..1defe8c9c 100644 --- a/tpl/transform/unmarshal_test.go +++ b/tpl/transform/unmarshal_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Hugo Authors. All rights reserved. +// Copyright 2019 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ import ( "github.com/gohugoio/hugo/media" - "github.com/gohugoio/hugo/resource" + "github.com/gohugoio/hugo/resources/resource" "github.com/spf13/viper" "github.com/stretchr/testify/require" ) |