Skip to content

unnecessarily creating multiple connections to db? #18

@joicemjoseph

Description

@joicemjoseph

db, err := sql.Open("sqlite3", filepath.(string))

on each call to download handler, db connection is opened. can it be avoided by creating db object globally ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions