diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index bb8681b..b3adc51 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,6 +1,6 @@ ## Checklist -- [ ] I have searched the [issue list](https://github.com/osteele/liquid/issues) +- [ ] I have searched the [issue list](https://github.com/danog/liquid/issues) - [ ] I have tested my example against Shopify Liquid. (This isn't necessary if the actual behavior is a panic, or an error for which `IsTemplateError` returns false.) ## Expected Behavior diff --git a/Makefile b/Makefile index 1d1db49..7babf68 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SOURCEDIR=. SOURCES := $(shell find $(SOURCEDIR) -name '*.go') LIB = liquid -PACKAGE = github.com/osteele/liquid +PACKAGE = github.com/danog/liquid LDFLAGS= .DEFAULT_GOAL: ci diff --git a/cmd/liquid/main.go b/cmd/liquid/main.go index 74ec7ae..260ac55 100644 --- a/cmd/liquid/main.go +++ b/cmd/liquid/main.go @@ -16,7 +16,7 @@ import ( "os" "strings" - "github.com/osteele/liquid" + "github.com/danog/liquid" ) // for testing diff --git a/engine.go b/engine.go index bcc1295..02955b1 100644 --- a/engine.go +++ b/engine.go @@ -3,9 +3,9 @@ package liquid import ( "io" - "github.com/osteele/liquid/filters" - "github.com/osteele/liquid/render" - "github.com/osteele/liquid/tags" + "github.com/danog/liquid/filters" + "github.com/danog/liquid/render" + "github.com/danog/liquid/tags" ) // An Engine parses template source into renderable text. @@ -40,7 +40,7 @@ func (e *Engine) RegisterBlock(name string, td Renderer) { // // Examples: // -// * https://github.com/osteele/liquid/blob/master/filters/filters.go +// * https://github.com/danog/liquid/blob/master/filters/filters.go // // * https://github.com/osteele/gojekyll/blob/master/filters/filters.go // diff --git a/engine_examples_test.go b/engine_examples_test.go index 8160712..9f559b2 100644 --- a/engine_examples_test.go +++ b/engine_examples_test.go @@ -5,7 +5,7 @@ import ( "log" "strings" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/render" ) func Example() { diff --git a/evaluator/evaluator.go b/evaluator/evaluator.go index 497254d..a5dbf31 100644 --- a/evaluator/evaluator.go +++ b/evaluator/evaluator.go @@ -5,7 +5,7 @@ import ( "reflect" "time" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" ) // Convert should be replaced by values.Convert. diff --git a/expressions/builders.go b/expressions/builders.go index 3f47d70..715dffa 100644 --- a/expressions/builders.go +++ b/expressions/builders.go @@ -1,7 +1,7 @@ package expressions import ( - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" ) func makeRangeExpr(startFn, endFn func(Context) values.Value) func(Context) values.Value { diff --git a/expressions/context.go b/expressions/context.go index 4d6392b..719ed39 100644 --- a/expressions/context.go +++ b/expressions/context.go @@ -1,6 +1,6 @@ package expressions -import "github.com/osteele/liquid/values" +import "github.com/danog/liquid/values" // Context is the expression evaluation context. It maps variables names to values. type Context interface { diff --git a/expressions/expressions.go b/expressions/expressions.go index 61d98b6..e7caaa9 100644 --- a/expressions/expressions.go +++ b/expressions/expressions.go @@ -7,7 +7,7 @@ import ( "fmt" "runtime/debug" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" ) // TODO Expression and Closure are confusing names. diff --git a/expressions/expressions.y b/expressions/expressions.y index cf99e5f..d6d3fcd 100644 --- a/expressions/expressions.y +++ b/expressions/expressions.y @@ -3,7 +3,7 @@ package expressions import ( "fmt" "math" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" ) func init() { diff --git a/expressions/filters.go b/expressions/filters.go index f80ee6d..1d8fbea 100644 --- a/expressions/filters.go +++ b/expressions/filters.go @@ -4,7 +4,7 @@ import ( "fmt" "reflect" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" ) // An InterpreterError is an error during expression interpretation. diff --git a/expressions/filters_test.go b/expressions/filters_test.go index 2a938de..cf3b9cf 100644 --- a/expressions/filters_test.go +++ b/expressions/filters_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" "github.com/stretchr/testify/require" ) diff --git a/expressions/parser.go b/expressions/parser.go index 88c2c82..a248470 100644 --- a/expressions/parser.go +++ b/expressions/parser.go @@ -7,7 +7,7 @@ package expressions import ( "fmt" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" ) type parseValue struct { diff --git a/expressions/y.go b/expressions/y.go index abf2201..7c16b57 100644 --- a/expressions/y.go +++ b/expressions/y.go @@ -8,7 +8,7 @@ import __yyfmt__ "fmt" //line expressions.y:2 import ( "fmt" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" "math" ) diff --git a/filters/sort_filters.go b/filters/sort_filters.go index 7ef2fb0..eee2868 100644 --- a/filters/sort_filters.go +++ b/filters/sort_filters.go @@ -6,7 +6,7 @@ import ( "sort" "strings" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" ) func sortFilter(array []interface{}, key interface{}) []interface{} { diff --git a/filters/standard_filters.go b/filters/standard_filters.go index 181125b..b4c4170 100644 --- a/filters/standard_filters.go +++ b/filters/standard_filters.go @@ -14,7 +14,7 @@ import ( "unicode" "unicode/utf8" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" "github.com/osteele/tuesday" ) diff --git a/filters/standard_filters_test.go b/filters/standard_filters_test.go index 7d7cb31..558c84a 100644 --- a/filters/standard_filters_test.go +++ b/filters/standard_filters_test.go @@ -8,7 +8,7 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/osteele/liquid/expressions" + "github.com/danog/liquid/expressions" "github.com/stretchr/testify/require" ) diff --git a/go.mod b/go.mod index b0b7339..4e2c1c4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/osteele/liquid +module github.com/danog/liquid go 1.17 diff --git a/liquid.go b/liquid.go index 341e11b..448e83a 100644 --- a/liquid.go +++ b/liquid.go @@ -1,7 +1,7 @@ /* Package liquid is a pure Go implementation of Shopify Liquid templates, developed for use in https://github.com/osteele/gojekyll. -See the project README https://github.com/osteele/liquid for additional information and implementation status. +See the project README https://github.com/danog/liquid for additional information and implementation status. The liquid package itself is versioned in gopkg.in. Subpackages have no compatibility guarantees. Except where specifically documented, the “public” entities of subpackages are intended only for use by the liquid package and its subpackages. @@ -9,8 +9,8 @@ The liquid package itself is versioned in gopkg.in. Subpackages have no compatib package liquid import ( - "github.com/osteele/liquid/render" - "github.com/osteele/liquid/tags" + "github.com/danog/liquid/render" + "github.com/danog/liquid/tags" ) // Bindings is a map of variable names to values. diff --git a/parser/ast.go b/parser/ast.go index 3256817..622e98a 100644 --- a/parser/ast.go +++ b/parser/ast.go @@ -1,7 +1,7 @@ package parser import ( - "github.com/osteele/liquid/expressions" + "github.com/danog/liquid/expressions" ) // ASTNode is a node of an AST. diff --git a/parser/config.go b/parser/config.go index 162f117..47bd81f 100644 --- a/parser/config.go +++ b/parser/config.go @@ -1,6 +1,6 @@ package parser -import "github.com/osteele/liquid/expressions" +import "github.com/danog/liquid/expressions" // A Config holds configuration information for parsing and rendering. type Config struct { diff --git a/parser/parser.go b/parser/parser.go index 9211a15..3965360 100644 --- a/parser/parser.go +++ b/parser/parser.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/osteele/liquid/expressions" + "github.com/danog/liquid/expressions" ) // Parse parses a source template. It returns an AST root, that can be compiled and evaluated. diff --git a/render/blocks.go b/render/blocks.go index ce80c00..7cf624a 100644 --- a/render/blocks.go +++ b/render/blocks.go @@ -4,7 +4,7 @@ import ( "io" "sort" - "github.com/osteele/liquid/parser" + "github.com/danog/liquid/parser" ) // BlockCompiler builds a renderer for the tag instance. diff --git a/render/compiler.go b/render/compiler.go index 745504c..3d686f6 100644 --- a/render/compiler.go +++ b/render/compiler.go @@ -3,7 +3,7 @@ package render import ( "fmt" - "github.com/osteele/liquid/parser" + "github.com/danog/liquid/parser" ) // Compile parses a source template. It returns an AST root, that can be evaluated. diff --git a/render/compiler_test.go b/render/compiler_test.go index 2c00023..adaf02f 100644 --- a/render/compiler_test.go +++ b/render/compiler_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "github.com/osteele/liquid/parser" + "github.com/danog/liquid/parser" "github.com/stretchr/testify/require" ) diff --git a/render/config.go b/render/config.go index 65ec55b..414e04b 100644 --- a/render/config.go +++ b/render/config.go @@ -1,7 +1,7 @@ package render import ( - "github.com/osteele/liquid/parser" + "github.com/danog/liquid/parser" ) // Config holds configuration information for parsing and rendering. diff --git a/render/context.go b/render/context.go index bae220a..ac8b2fd 100644 --- a/render/context.go +++ b/render/context.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/osteele/liquid/expressions" + "github.com/danog/liquid/expressions" ) // Context provides the rendering context for a tag renderer. diff --git a/render/context_test.go b/render/context_test.go index e026ab2..7f20eb3 100644 --- a/render/context_test.go +++ b/render/context_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - "github.com/osteele/liquid/parser" + "github.com/danog/liquid/parser" "github.com/stretchr/testify/require" ) diff --git a/render/error.go b/render/error.go index 649d79d..3890c85 100644 --- a/render/error.go +++ b/render/error.go @@ -1,7 +1,7 @@ package render import ( - "github.com/osteele/liquid/parser" + "github.com/danog/liquid/parser" ) // An Error is an error during template rendering. diff --git a/render/node_context.go b/render/node_context.go index b71b90b..392433a 100644 --- a/render/node_context.go +++ b/render/node_context.go @@ -1,7 +1,7 @@ package render import ( - "github.com/osteele/liquid/expressions" + "github.com/danog/liquid/expressions" ) // nodeContext provides the evaluation context for rendering the AST. diff --git a/render/nodes.go b/render/nodes.go index 6695d2f..a946cc1 100644 --- a/render/nodes.go +++ b/render/nodes.go @@ -3,8 +3,8 @@ package render import ( "io" - "github.com/osteele/liquid/expressions" - "github.com/osteele/liquid/parser" + "github.com/danog/liquid/expressions" + "github.com/danog/liquid/parser" ) // Node is a node of the render tree. diff --git a/render/render.go b/render/render.go index 3e8b812..5d84a0b 100644 --- a/render/render.go +++ b/render/render.go @@ -7,7 +7,7 @@ import ( "reflect" "time" - "github.com/osteele/liquid/values" + "github.com/danog/liquid/values" ) // Render renders the render tree. diff --git a/render/render_test.go b/render/render_test.go index db8d334..d674b90 100644 --- a/render/render_test.go +++ b/render/render_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/osteele/liquid/parser" + "github.com/danog/liquid/parser" "github.com/stretchr/testify/require" ) diff --git a/tags/control_flow_tags.go b/tags/control_flow_tags.go index 6639a39..1c1d4fb 100644 --- a/tags/control_flow_tags.go +++ b/tags/control_flow_tags.go @@ -3,9 +3,9 @@ package tags import ( "io" - e "github.com/osteele/liquid/expressions" - "github.com/osteele/liquid/render" - "github.com/osteele/liquid/values" + e "github.com/danog/liquid/expressions" + "github.com/danog/liquid/render" + "github.com/danog/liquid/values" ) type caseInterpreter interface { diff --git a/tags/control_flow_tags_test.go b/tags/control_flow_tags_test.go index 8e35716..99d64c4 100644 --- a/tags/control_flow_tags_test.go +++ b/tags/control_flow_tags_test.go @@ -7,8 +7,8 @@ import ( "io/ioutil" "testing" - "github.com/osteele/liquid/parser" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/parser" + "github.com/danog/liquid/render" "github.com/stretchr/testify/require" ) diff --git a/tags/include_tag.go b/tags/include_tag.go index 6442a24..b95a7a9 100644 --- a/tags/include_tag.go +++ b/tags/include_tag.go @@ -4,7 +4,7 @@ import ( "io" "path/filepath" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/render" ) func includeTag(source string) (func(io.Writer, render.Context) error, error) { diff --git a/tags/include_tag_test.go b/tags/include_tag_test.go index 9628a37..c474828 100644 --- a/tags/include_tag_test.go +++ b/tags/include_tag_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "github.com/osteele/liquid/parser" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/parser" + "github.com/danog/liquid/render" "github.com/stretchr/testify/require" ) diff --git a/tags/iteration_tags.go b/tags/iteration_tags.go index 581ff85..ee958eb 100644 --- a/tags/iteration_tags.go +++ b/tags/iteration_tags.go @@ -8,8 +8,8 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/osteele/liquid/expressions" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/expressions" + "github.com/danog/liquid/render" ) // An IterationKeyedMap is a map that yields its keys, instead of (key, value) pairs, when iterated. diff --git a/tags/iteration_tags_test.go b/tags/iteration_tags_test.go index d3acfec..52d18d9 100644 --- a/tags/iteration_tags_test.go +++ b/tags/iteration_tags_test.go @@ -10,8 +10,8 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/osteele/liquid/parser" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/parser" + "github.com/danog/liquid/render" "github.com/stretchr/testify/require" ) diff --git a/tags/standard_tags.go b/tags/standard_tags.go index 38b3e5a..afede79 100644 --- a/tags/standard_tags.go +++ b/tags/standard_tags.go @@ -4,8 +4,8 @@ package tags import ( "io" - "github.com/osteele/liquid/expressions" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/expressions" + "github.com/danog/liquid/render" ) // AddStandardTags defines the standard Liquid tags. diff --git a/tags/standard_tags_test.go b/tags/standard_tags_test.go index a0cbf6c..f532152 100644 --- a/tags/standard_tags_test.go +++ b/tags/standard_tags_test.go @@ -6,8 +6,8 @@ import ( "io/ioutil" "testing" - "github.com/osteele/liquid/parser" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/parser" + "github.com/danog/liquid/render" "github.com/stretchr/testify/require" ) diff --git a/template.go b/template.go index 5e60a90..e2f08ec 100644 --- a/template.go +++ b/template.go @@ -3,8 +3,8 @@ package liquid import ( "bytes" - "github.com/osteele/liquid/parser" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/parser" + "github.com/danog/liquid/render" ) // A Template is a compiled Liquid template. It knows how to evaluate itself within a variable binding environment, to create a rendered byte slice. diff --git a/template_test.go b/template_test.go index d54f899..9309cdb 100644 --- a/template_test.go +++ b/template_test.go @@ -5,7 +5,7 @@ import ( "sync" "testing" - "github.com/osteele/liquid/render" + "github.com/danog/liquid/render" "github.com/stretchr/testify/require" )