fix a typo in layout.go

pull/498/head
hararudoka 3 years ago
parent dd790ca6c1
commit a4d61d0eb4

@ -370,12 +370,13 @@ func (lt *Layout) MarkupLocale(locale, k string, args ...interface{}) *tele.Repl
// The given optional argument will be passed to the template engine. // The given optional argument will be passed to the template engine.
// //
// results: // results:
// type: article // article:
// id: '{{ .ID }}' // type: article
// title: '{{ .Title }}' // id: '{{ .ID }}'
// description: '{{ .Description }}' // title: '{{ .Title }}'
// message_text: '{{ .Content }}' // description: '{{ .Description }}'
// thumb_url: '{{ .PreviewURL }}' // message_text: '{{ .Content }}'
// thumb_url: '{{ .PreviewURL }}'
// //
// Usage: // Usage:
// func onQuery(c tele.Context) error { // func onQuery(c tele.Context) error {

Loading…
Cancel
Save