supermock

command module
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 8 Imported by: 0

README

supermock


$ docker run --name supermock onrik/supermock:latest

Usage in code

package main

import (
    "github.com/onrik/supermock/pkg/app"
    _ "github.com/mattn/go-sqlite3"
)

func TestMain(t testing.T) {
    s, err := app.New("127.0.0.1:9000", "sqlite://:memory:")

    s.Start()
    defer s.Stop()
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
app
db

Jump to

Keyboard shortcuts

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