db

package
v0.0.0-...-89f1421 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ConnectDynamo

func ConnectDynamo() (db *dynamodb.DynamoDB)

func CreateTable

func CreateTable() error

CreateTable creates a table

func GetDnaSeq

func GetDnaSeq(id string) (models.DnaSeq, error)

func InsertDnaSeq

func InsertDnaSeq(dnaseq models.DnaSeq) (bool, error)

InsertDnaSeq inserts the struct Dna

func UpdateDnaSeq

func UpdateDnaSeq(dnaseq models.DnaSeq) (*dynamodb.UpdateItemOutput, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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