#4 Move repository

已合併
wouter 1 年之前 將 1 次代碼提交從 move-repository合併至 master
  1. +3
    -3
      go.mod
  2. +0
    -14
      pkg/pattern/template/template_test.go

+ 3
- 3
go.mod 查看文件

@@ -5,9 +5,12 @@ go 1.22.0
toolchain go1.22.2

require (
github.com/stoewer/go-strcase v1.3.0
github.com/stretchr/testify v1.9.0
github.com/tdewolff/canvas v0.0.0-20240404204646-eb921826d23b
gitlab.com/Achilleshiel/gosplines v0.0.0-20240601225309-88d1e67b1066
gitlab.com/slxh/go/env v1.0.0
golang.org/x/image v0.15.0
gopkg.in/Knetic/govaluate.v3 v3.0.0
gopkg.in/yaml.v3 v3.0.1
)
@@ -23,13 +26,10 @@ require (
github.com/go-text/typesetting v0.0.0-20231013144250-6cc35dbfae7d // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/tdewolff/font v0.0.0-20240404204409-be214eafe484 // indirect
github.com/tdewolff/minify/v2 v2.20.5 // indirect
github.com/tdewolff/parse/v2 v2.7.3 // indirect
github.com/wcharczuk/go-chart/v2 v2.1.1 // indirect
gitlab.com/slxh/go/env v1.0.0 // indirect
golang.org/x/image v0.15.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect


+ 0
- 14
pkg/pattern/template/template_test.go 查看文件

@@ -1,14 +0,0 @@
package template_test

import (
"testing"

"git.wtrh.nl/patterns/gopatterns/pkg/pattern/template"
"github.com/stretchr/testify/require"
)

func TestRenderPattern(t *testing.T) {
t.Parallel()

require.NoError(t, template.RenderPattern("fixtures/trouser.yaml"))
}

Loading…
取消
儲存