util

package
v0.0.0-...-29c9282 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(err error, desc ...string)

HandleError checks if the returned error is nil. If it is not nil, it will log the error using log.Printf(). An additional description can be added to clarify the type of error.

func LoadPbFromCsv

func LoadPbFromCsv(path string) ([]*ordersv1.Order, error)

LoadPbFromCsv loads the order data from csv into protobuf values

Types

This section is empty.

Jump to

Keyboard shortcuts

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