Merge pull request #243 from mrueg/fix-lint

Lint: Disable staticcheck for strings.Title
This commit is contained in:
Manuel Rüger 2023-01-19 11:35:06 +01:00 committed by GitHub
commit 5ff8daf5e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@ func ExtractMeta(data []byte) (*Meta, []byte, error) {
meta.Type = "page" //Default if not specified
}
//nolint:staticcheck
header := strings.Title(matches[1])
var value string