Skip to content

feat(transform): Add Number Maximum Transform#195

Merged
jshlbrd merged 2 commits intomainfrom
jshlbrd/feat/tf-num-max
Jul 2, 2024
Merged

feat(transform): Add Number Maximum Transform#195
jshlbrd merged 2 commits intomainfrom
jshlbrd/feat/tf-num-max

Conversation

@jshlbrd
Copy link
Contributor

@jshlbrd jshlbrd commented Jul 1, 2024

Description

  • Adds a new number transform to return the larger of two values

Motivation and Context

This is a wrapper around Go's math.Max function that works with Substation's data and JSON message formats.

How Has This Been Tested?

Added unit tests and an example.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@jshlbrd jshlbrd marked this pull request as ready for review July 1, 2024 22:31
@jshlbrd jshlbrd requested a review from a team as a code owner July 1, 2024 22:31
@jshlbrd jshlbrd merged commit 8b391de into main Jul 2, 2024
@jshlbrd jshlbrd deleted the jshlbrd/feat/tf-num-max branch July 2, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants