Skip to content

Commit

Permalink
chore(loader): Updating comment on the loader methods (#33)
Browse files Browse the repository at this point in the history
Updating comment on the loader methods
  • Loading branch information
Jacobbrewer1 authored Oct 12, 2024
1 parent 53df004 commit fd09a1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ var (
ErrInvalidType = errors.New("invalid type: must pointer to struct")
)

// LoadDiff inserts the fields provided in the new struct pointer into the old struct pointer and returns the result.
// LoadDiff inserts the fields provided in the new struct pointer into the old struct pointer and injects the new
// values into the old struct.
//
// Note that it only pushes non-zero value updates, meaning you cannot set any field to zero, the empty string, etc.
//
Expand Down

0 comments on commit fd09a1d

Please sign in to comment.