/dynamodb-local-server

Create a local dynamodb server for testing purpose on runtime

Primary LanguageGoMIT LicenseMIT

dynamodb-local-server

Create a local DynamoDB server for testing purpose on runtime

Run

Simply include the package and start with defined port. Eg.

package main
import (
	"time"
	server "github.com/YanshuoH/dynamodb-local-server"
)

func main() {
	ss := server.Start("48791")
	// do whatever you want
	time.Sleep(time.Second)
	ss.Stop()
}

Test

go test