database

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

This file is generated by digogen. Run 'digogen' to regenerate.

You can install this tool by running `go install github.com/werbenhu/digo/digogen`. For more details, please refer to https://github.com/werbenhu/digo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMysqlUrl

func NewMysqlUrl() string

@provider({"id": "database.mysql.url"})

Types

type Database

type Database interface {
	Print()
}

type Mysql

type Mysql struct {
	Url string
}

func NewMysql

func NewMysql(url string) *Mysql

@provider({"id": "database.mysql"}) @inject({"param":"url", "id":"database.mysql.url"})

func (*Mysql) Print

func (m *Mysql) Print()

Jump to

Keyboard shortcuts

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