ground

package module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2026 License: MIT Imports: 7 Imported by: 0

README

Ground

Ground is a ground-setup library for creating new Go service projects. The creation of ground has a story which is better described here

To use it, you must import and use:

go get codeberg.org/techrail/ground 

Or well, you can just go ahead and use it in code and run go mod tidy (whatever works for you).

Documentation

Overview

Package ground is the top level package from where you can import some of the components

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GiveMeABarkRemoteServerClient

func GiveMeABarkRemoteServerClient(remoteServerUrl, defaultLogLvl, svcName, sessName string, enableSlog bool,
	enableBulkSend bool,
) logger.Logger

func GiveMeABarkSLogger

func GiveMeABarkSLogger() logger.Logger

func GiveMeABlankJsonData added in v0.5.0

func GiveMeABlankJsonData() jsonData.Typ

func GiveMeACacheManager

func GiveMeACacheManager(config cache.RedisConfig) *cache.Client

func GiveMeACodeGenerator

func GiveMeACodeGenerator(config dbcodegen.CodegenConfig) (*dbcodegen.Generator, appError.Typ)

func GiveMeADirectToDbBarkClient

func GiveMeADirectToDbBarkClient(dbUrl, defaultLogLvl, svcName, sessName string, enableSlog bool) logger.Logger

func GiveMeANewDirectToDbBarkClientCustomSchemaTable

func GiveMeANewDirectToDbBarkClientCustomSchemaTable(dbUrl, schemaName, tableName, defaultLogLvl, svcName, sessName string, enableSlog bool) logger.Logger

func GiveMeARoutineManager

func GiveMeARoutineManager() bgroutine.Manager

func GiveMeAWebServer

func GiveMeAWebServer() *webServer.FastHttpServer

Types

This section is empty.

Directories

Path Synopsis
Package bgroutine is for managing the background routines
Package bgroutine is for managing the background routines
cmd
codegen_test command
testbed command
Package dbCodegen can return a code generator which you can use to generate code against a PostgreSQL database.
Package dbCodegen can return a code generator which you can use to generate code against a PostgreSQL database.
Package stdresponse contains some structures which can be used to send some standard responses
Package stdresponse contains some structures which can be used to send some standard responses
set
middlewares
Package middlewares contains a set of middlewares which might be reused by most people
Package middlewares contains a set of middlewares which might be reused by most people

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL