package
0.0.0-20241219020648-e0d82ebec2a6
Repository: https://github.com/temporalio/reference-app-orders-go.git
Documentation: pkg.go.dev

# Functions

CreateDB creates a new DB instance based on the configuration.

# Constants

OrdersCollection is the name of the MongoDB collection to use for Orders.
ShipmentCollection is the name of the MongoDB collection to use for Shipment data.

# Structs

MongoDB is a struct that implements the DB interface for MongoDB.
OrderStatus is a struct that represents the status of an Order.
ShipmentStatus is a struct that represents the status of a Shipment.
SQLiteDB is a struct that implements the DB interface for SQLite.

# Interfaces

DB is an interface that defines the methods that a database driver must implement.