func Uptime(startTime time.Time) string {
	return fmtDuration(time.Since(startTime))
}
Uptime returns uptime for the application process
package dms3libs
import (
	"fmt"
	"log"
	"os"
	"path"
	"runtime"
	"strings"
	"time"
)
func GetFunctionName() string {
	pc := make([]uintptr, 10)
	runtime.Callers(2, pc)
	fn := runtime.FuncForPC(pc[0])
	return fn.Name()
}
func GetPackageDir() string {
	_, filename, _, ok := runtime.Caller(1)
	if !ok {
		log.Fatal()
	}
	return path.Dir(filename)
}
func StripRet(value []byte) []byte {
	if len(value) <= 1 {
		return value
	}
	return value[:len(value)-1]
}
func SetUptime(startTime *time.Time) {
	*startTime = time.Now()
}