di114514

package module
Version: v0.0.0-...-1689a74 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: MIT Imports: 2 Imported by: 0

README

di114514

CircleCI GoDoc Go Report Card Coverage Status codecov Maintainability Test Coverage Codacy Badge CodeFactor codebeat badge

Dependency Injection Container in Golang

Documentation

Overview

Package di114514 provides an dependency injection container.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerInterface

type ContainerInterface interface {
	Define(name string, value interface{}) error
	GetInstance(name string) interface{}
	NewInstance(name string) interface{}
}

ContainerInterface はコンテナのインターフェース

func NewContainer

func NewContainer() ContainerInterface

NewContainer はコンテナのコンストラクタ

Source Files

Jump to

Keyboard shortcuts

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