From 68cebb28d063a7a71705ce022f118b5e1205fa3f Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 11 Apr 2020 09:01:40 -0600 Subject: Fix some godocs --- modules/caddyhttp/celmatcher.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/caddyhttp/celmatcher.go') diff --git a/modules/caddyhttp/celmatcher.go b/modules/caddyhttp/celmatcher.go index 8d183c1..19c7bca 100644 --- a/modules/caddyhttp/celmatcher.go +++ b/modules/caddyhttp/celmatcher.go @@ -44,6 +44,10 @@ func init() { // This enables complex logic to be expressed using a comfortable, // familiar syntax. // +// This matcher's JSON interface is actually a string, not a struct. +// The generated docs are not correct because this type has custom +// marshaling logic. +// // COMPATIBILITY NOTE: This module is still experimental and is not // subject to Caddy's compatibility guarantee. type MatchExpression struct { -- cgit v1.2.3