Skip to content

Commit 45d6938

Browse files
committed
apply update for #1861 as requested
1 parent 0381d6f commit 45d6938

File tree

8 files changed

+21
-15
lines changed

8 files changed

+21
-15
lines changed

NOTICE

+4-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ Revision ID: 5fc50a00491616d5cd0cbce3abd8b699838e25ca
8383
protobuf 6c66de79d66478d https://github.com/golang/protobuf
8484
166c7ea05f5d2cc
8585
af016fbd6b
86-
raymond b565731e1464263 https://github.com/aymerick/raymond
87-
de0bda75f2e45d9
88-
7b54b60110
86+
raymond cd18a09da5ea49b https://github.com/mailgun/raymond
87+
b9a8cbec107a22a
88+
9c0e792c21
89+
8990
go-redis 7125bf611e5d7d9 https://github.com/go-redis/redis
9091
bb4487dd6cb80d8
9192
88bad92d23

_examples/view/template_handlebars_0/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func main() {
5757
mvc.New(exampleRouter).Handle(new(controller))
5858

5959
// Read more about its syntax at:
60-
// https://github.com/aymerick/raymond and
60+
// https://github.com/mailgun/raymond and
6161
// https://handlebarsjs.com/guide
6262

6363
// http://localhost:8080

_examples/view/template_handlebars_0/templates/example.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ <h2>By {{fullName author}}</h2>
1919

2020
<hr />
2121

22-
<strong>Read more at: <a href="https://github.com/aymerick/raymond" target="_new">
23-
https://github.com/aymerick/raymond</a> and <a href="https://handlebarsjs.com/guide" target="_new">
22+
<strong>Read more at: <a href="https://github.com/mailgun/raymond" target="_new">
23+
https://github.com/mailgun/raymond</a> and <a href="https://handlebarsjs.com/guide" target="_new">
2424
https://handlebarsjs.com/guide
2525
</a>
2626
</strong>

context/context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ type (
12481248
)
12491249

12501250
// String returns the raw ref url.
1251-
func (ref Referrer) String() string {
1251+
func (ref *Referrer) String() string {
12521252
return ref.Raw
12531253
}
12541254

go.mod

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ require (
99
github.com/CloudyKit/jet/v6 v6.1.0
1010
github.com/Shopify/goreferrer v0.0.0-20210630161223-536fa16abd6f
1111
github.com/andybalholm/brotli v1.0.4
12-
github.com/aymerick/raymond v2.0.2+incompatible
1312
github.com/blang/semver/v4 v4.0.0
1413
github.com/dgraph-io/badger/v2 v2.2007.4
1514
github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385
@@ -31,6 +30,7 @@ require (
3130
github.com/kataras/sitemap v0.0.5
3231
github.com/kataras/tunnel v0.0.3
3332
github.com/klauspost/compress v1.15.1
33+
github.com/mailgun/raymond/v2 v2.0.46
3434
github.com/mailru/easyjson v0.7.7
3535
github.com/microcosm-cc/bluemonday v1.0.18
3636
github.com/russross/blackfriday/v2 v2.1.0
@@ -42,7 +42,7 @@ require (
4242
go.etcd.io/bbolt v1.3.6
4343
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
4444
golang.org/x/net v0.0.0-20220225172249-27dd8689420f
45-
golang.org/x/sys v0.0.0-20220317061510-51cd9980dadf
45+
golang.org/x/sys v0.0.0-20220318055525-2edf467146b5
4646
golang.org/x/text v0.3.7
4747
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65
4848
google.golang.org/protobuf v1.27.1
@@ -89,6 +89,7 @@ require (
8989
github.com/pmezard/go-difflib v1.0.0 // indirect
9090
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
9191
github.com/sergi/go-diff v1.2.0 // indirect
92+
github.com/sirupsen/logrus v1.8.1 // indirect
9293
github.com/smartystreets/assertions v1.2.1 // indirect
9394
github.com/stretchr/testify v1.7.0 // indirect
9495
github.com/tdewolff/parse/v2 v2.5.27 // indirect

go.sum

+8-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

view/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Parse using embedded assets, Layouts and Party-specific layout, Template Funcs,
1212
| 2 | Blocks | [kataras/blocks](https://github.com/kataras/blocks) |
1313
| 3 | Django | [flosch/pongo2](https://github.com/flosch/pongo2) |
1414
| 4 | Pug | [Joker/jade](https://github.com/Joker/jade) |
15-
| 5 | Handlebars | [aymerick/raymond](https://github.com/aymerick/raymond) |
15+
| 5 | Handlebars | [mailgun/raymond](https://github.com/mailgun/raymond) |
1616
| 6 | Amber | [eknkc/amber](https://github.com/eknkc/amber) |
1717
| 7 | Jet | [CloudyKit/jet](https://github.com/CloudyKit/jet) |
1818
| 8 | Ace | [yosssi/ace](https://github.com/yosssi/ace) |

view/handlebars.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"sync"
1212

13-
"github.com/aymerick/raymond"
13+
"github.com/mailgun/raymond/v2"
1414
)
1515

1616
// HandlebarsEngine contains the handlebars view engine structure.

0 commit comments

Comments
 (0)