Add a function which retrieves an extension of a file path because filepath.Ext returns the suffix beginning at the final dot in the final element of path and we can not retrieve the extension of foo.go.html correctly (We want to retrieve .go.html as the extension but filepath.Ext returns .html). #14
Add a function which retrieves an extension of a file path because
filepath.Ext
returns the suffix beginning at the final dot in the final element of path and we can not retrieve the extension offoo.go.html
correctly (We want to retrieve.go.html
as the extension butfilepath.Ext
returns.html
). #14