merge

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

package merge provides utilities to merge annotations together

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeAnnotations

func MergeAnnotations(annotations ...*model.ProjectAnnotation) *model.ProjectAnnotation

func MergeAnnotationsInto

func MergeAnnotationsInto(res *model.ProjectAnnotation, annotations ...*model.ProjectAnnotation)

func MergeBlock

func MergeBlock(dst *model.BlockAnnotation, src *model.BlockAnnotation)

func MergeCode

func MergeCode(dst *model.CodeAnnotation, src *model.CodeAnnotation)

func MergeFile

func MergeFile(dst *model.FileAnnotation, src *model.FileAnnotation)

func MergeFunc

func MergeFunc(dst *model.FuncAnnotation, src *model.FuncAnnotation)

func MergeLine

func MergeLine(dst *model.LineAnnotation, src *model.LineAnnotation)

func MergeMap

func MergeMap(dst map[string]bool, src map[string]bool)

func MergeProjectAnnotation

func MergeProjectAnnotation(annotations []*model.ProjectAnnotation) *model.ProjectAnnotation

func MergeStringSet

func MergeStringSet(dst map[string]bool, src map[string]bool)

func MergeTypes

func MergeTypes(dst map[model.AnnotationType]bool, src map[model.AnnotationType]bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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