gostack

package module
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

README

The Atlassian Go Stack (EXPERIMENTAL, DO NOT USE IN PRODUCTION)

This project serves to abstract the tooling api from their implementations. At the simplest level this repo performs namespace hiding, the cost of which will be trivially erased during compile time optimization.

Stack consumers will be insulated from changes in the preferred library, any version upgrades to downstream packages will be vetted end to end for:

  • performance impact
  • potential security vulnerabilities
  • transitive dependency cost
  • build cost

Creating a project from template

go get bitbucket.org/atlassian/go-stack
go install bitbucket.org/atlassian/go-stack/create-project/create-go-project.go
create-go-project <atlassian-project> <service-name>
cd bitbucket.org/atlassian/<service-name>
git add -A
git status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field = zapcore.Field

type Logger

type Logger interface {
	Info(msg string, fields ...Field)
	Debug(msg string, fields ...Field)
	Sync() error
}

type Middleware

type Middleware = func(handler http.Handler) http.Handler

type Option

type Option = zap.Option

Directories

Path Synopsis
Package mock_stack is a generated GoMock package.
Package mock_stack is a generated GoMock package.

Jump to

Keyboard shortcuts

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