Skip to content

Commit

Permalink
Merge pull request #42 from vimeo/proto_codec_galaxywrap_typo_fix
Browse files Browse the repository at this point in the history
protocodec: GalaxyGet: fix typo
  • Loading branch information
dfinkel authored May 24, 2023
2 parents 9d1dfca + bc89cfa commit e8ff957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocodec/galaxywrap_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

// GalaxyGet is a simple wrapper around a Galaxy.Get method-call that takes
// care of constructing the protocodec.CodecV2, etc. (making the interface more idomatic for Go)
// care of constructing the protocodec.CodecV2, etc. (making the interface more idiomatic for Go)
func GalaxyGet[C any, T pointerMessage[C]](ctx context.Context, g *galaxycache.Galaxy, key string) (T, error) {
pc := NewV2[C, T]()
getErr := g.Get(ctx, key, &pc)
Expand Down

0 comments on commit e8ff957

Please sign in to comment.