Help us shape the future of Go! Take the 2026 Go Developer Survey

comments

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFlagComment

func BuildFlagComment(buildComment FlagComments, flagsRef refs.ReferenceSummary, existingComment *github.IssueComment) string

func GithubNoFlagComment

func GithubNoFlagComment() *github.IssueComment

Types

type Comment

type Comment struct {
	Flag       ldapi.FeatureFlag
	ArchivedAt time.Time
	Added      bool
	Extinct    bool
	Aliases    []string
	ChangeType string
	Primary    ldapi.FeatureFlagConfig
	LDInstance string
}

type FlagComments

type FlagComments struct {
	CommentsAdded   []string
	CommentsRemoved []string
}

func ProcessFlags

func ProcessFlags(flagsRef refs.ReferenceSummary, flags []ldapi.FeatureFlag, config *lcr.Config) FlagComments

Jump to

Keyboard shortcuts

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