All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.golang.database.executor.helper.go.template Maven / Gradle / Ivy

The newest version!
package executor

import (
    @import_proto@
	"@code_url@@namespace@/@service_name@/zerotouch/golang/database/models"
	"go.uber.org/zap"
)

var logger = getLogger()

func getLogger() *zap.Logger {
	logger, err := zap.NewProduction()
	if err != nil {
		panic("Unable to initialize log at init()")
	}
	return logger
}

@inserthelper@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy