Skip to content

Commit

Permalink
chore: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rkettelerij committed Dec 31, 2024
1 parent 37e553a commit 6083b2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/engine/templatefuncs.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (
// Initialize functions to be used in html/json/etc templates
func init() {
customFuncs := texttemplate.FuncMap{
// custom template functions
// custom template functions (keep lowercase)
"markdown": markdown,
"unmarkdown": unmarkdown,
"truncate": truncateText,
Expand Down
1 change: 1 addition & 0 deletions internal/ogc/features/datasources/geopackage/geopackage.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func loadDriver() {
})
}

// geoPackageBackend abstraction over different kinds of GeoPackages, e.g. local file or cloud-backed sqlite.
type geoPackageBackend interface {
getDB() *sqlx.DB
close()
Expand Down

0 comments on commit 6083b2a

Please sign in to comment.