Merge pull request #498 from hararudoka/patch-1

fix a typo in layout.go
pull/500/head
demget 2 years ago committed by GitHub
commit 4b2f8743d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.
//
// results:
// type: article
// id: '{{ .ID }}'
// title: '{{ .Title }}'
// description: '{{ .Description }}'
// message_text: '{{ .Content }}'
// thumb_url: '{{ .PreviewURL }}'
// article:
// type: article
// id: '{{ .ID }}'
// title: '{{ .Title }}'
// description: '{{ .Description }}'
// message_text: '{{ .Content }}'
// thumb_url: '{{ .PreviewURL }}'
//
// Usage:
// func onQuery(c tele.Context) error {

Loading…
Cancel
Save