Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

feat(text): add operator #39

Merged
merged 5 commits into from
Nov 23, 2023
Merged

feat(text): add operator #39

merged 5 commits into from
Nov 23, 2023

Conversation

pinglin
Copy link
Member

@pinglin pinglin commented Nov 23, 2023

Because

  • operators are designed to be unstructured data based
  • the Text operator is particularly useful for basic text operations

This commit

  • remove obsolete operators
  • add the text operator
  • unify the naming of the text operator tasks TASK_SPLIT_TOKEN and TASK_CONVERT_TO_TEXT

@pinglin pinglin force-pushed the pinglin/add-text-operator branch from 96c2a8e to 4edf376 Compare November 23, 2023 06:39
Copy link

codecov bot commented Nov 23, 2023

Codecov Report

Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (92ea699) 64.13% compared to head (4edf376) 67.93%.

Files Patch % Lines
pkg/text/convert.go 58.62% 8 Missing and 4 partials ⚠️
pkg/text/main.go 47.05% 6 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   64.13%   67.93%   +3.79%     
==========================================
  Files           6        6              
  Lines         672      658      -14     
==========================================
+ Hits          431      447      +16     
+ Misses        203      168      -35     
- Partials       38       43       +5     
Flag Coverage Δ
unittests 67.93% <56.25%> (+3.79%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pinglin pinglin merged commit 25f0a96 into main Nov 23, 2023
@pinglin pinglin deleted the pinglin/add-text-operator branch November 23, 2023 07:00
donch1989 pushed a commit that referenced this pull request Nov 28, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.5.0-alpha](v0.4.0-alpha...v0.5.0-alpha)
(2023-11-27)


### Features

* **text:** add operator
([#39](#39))
([25f0a96](25f0a96))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants