api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoTaskMentionsFound    = "no task mentions found"
	CustomFieldNotFound    = "custom field not found"
	MergeCommitUnsupported = "merge commits are unsupported"
)

Variables

This section is empty.

Functions

func GetErrStatusCode

func GetErrStatusCode(err error) int

func LoggerMiddleware

func LoggerMiddleware(logger *zerolog.Logger) gin.HandlerFunc

LoggerMiddleware is a middleware that injects the logger into the context

Types

type Response

type Response struct {
	Ok     bool   `json:"ok"`
	Error  string `json:"error,omitempty"`
	Result any    `json:"result,omitempty"`
}

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
handlers
services
tm
vcs

Jump to

Keyboard shortcuts

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