This commit is contained in:
Mike Schwörer 2023-07-24 18:47:48 +02:00
parent a038b86147
commit edeae23bf1
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 8 additions and 3 deletions

View File

@ -132,8 +132,13 @@ func nameOfFunction(f any) string {
fname = split[len(split)-1]
// https://stackoverflow.com/a/32925345/1761622
if strings.HasSuffix(fname, "-fm") {
fname = fname[:len(fname)-len("-fm")]
}
if strings.HasSuffix(fname, ".func1") {
fname = fname[len(fname)-len(".func1"):]
fname = fname[:len(fname)-len(".func1")]
}
return fname

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.204"
const GoextVersion = "0.0.205"
const GoextVersionTimestamp = "2023-07-24T18:42:33+0200"
const GoextVersionTimestamp = "2023-07-24T18:47:48+0200"