Skip to main content

Installation

To install the karma package, run the following command:
go get github.com/MelloB1989/karma

Import the Package

You can import specific modules from the package as needed. For example, to use the database utility:
import "github.com/MelloB1989/karma/database"

Example: Test PostgreSQL Connection

Here’s a simple usage example to test a PostgreSQL database connection using karma:
main.go
package tests

import "github.com/MelloB1989/karma/database"

func TestDBConnection() {
	database.PostgresConn()
}