Movatterモバイル変換


[0]ホーム

URL:


utils

package
v0.2.0Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License:AGPL-3.0Imports:3Imported by:0

Details

Repository

github.com/coder/aibridge

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcExtractJSONField

func ExtractJSONField[Tany](raw []byte, fieldstring) T

ExtractJSONField extracts the stream flag from JSON

funcPtrTo

func PtrTo[Tany](v T) *T

PtrTo returns a reference to v.

Types

typeConcurrentGroup

type ConcurrentGroup struct {// contains filtered or unexported fields}

ConcurrentGroup is like errgroup.Group but differs in that an error in onegoroutine will not interrupt the functioning of another.Seehttps://pkg.go.dev/golang.org/x/sync/errgroup#Group.Go.

funcNewConcurrentGroup

func NewConcurrentGroup() *ConcurrentGroup

func (*ConcurrentGroup)Go

func (c *ConcurrentGroup) Go(fn func()error)

func (*ConcurrentGroup)Wait

func (c *ConcurrentGroup) Wait()error

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp