go-api-boilerplate: github.com/vardius/go-api-boilerplate/pkg/container Index | Files

package container

import "github.com/vardius/go-api-boilerplate/pkg/container"


Package Files


func ContextWithContainer Uses

func ContextWithContainer(ctx context.Context, c gocontainer.Container) context.Context

ContextWithContainer returns a new Context that carries container ptr.

func FromContext Uses

func FromContext(ctx context.Context) (gocontainer.Container, bool)

FromContext returns the Identity value stored in ctx, if any.

Package container imports 2 packages (graph) and is imported by 2 packages. Updated 2020-05-17. Refresh now. Tools for package owners.