cmd

command
v0.0.0-...-42982c7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package main is the entry point of the application. It initializes the database and runs the tests passed as command line arguments.

Usage:

$ go run src/cmd/main.go -tests=users,posts,comments,messages,chats

The flags are:

-tests: comma-separated list of tests to run. The possible values are:
	- users
	- posts
	- comments
	- messages
	- chats

If no tests are passed, the application will only initialize the database.

Jump to

Keyboard shortcuts

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