Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gencel #1

Merged
merged 24 commits into from
Jul 13, 2023
Merged

Gencel #1

merged 24 commits into from
Jul 13, 2023

Conversation

adityathebe
Copy link
Member

No description provided.

Instead of passing in a particular file path, now it's possible to
provide the package directory and gencel will generate on all the files
of the package
@adityathebe
Copy link
Member Author

adityathebe commented Feb 1, 2023

TODOs

  • handle multiple returns if possible (no native support)
  • handle slice returns
  • handle interface{} returns
  • put all the generated function into a slice so it can be easily imported as cel.EnvOption
  • handle collision of different functions with same func signature and name.
  • handle args of variadic functions (no native support)
  • handle package import automatically. Need to configure this manually

@adityathebe adityathebe marked this pull request as ready for review February 3, 2023 09:47
funcs/base64_gen.go Outdated Show resolved Hide resolved
funcs/cel_gen_exports.go Outdated Show resolved Hide resolved
@adityathebe
Copy link
Member Author

@moshloop had to disable some linters because I was getting linter errors for changes that I didn't make. Will create a new issue for that.

Also removed 3 github workflows that were build cmd/gomplate.go which doesn't exist anymore.

@moshloop moshloop merged commit ed70a73 into main Jul 13, 2023
@adityathebe adityathebe deleted the gencel branch July 17, 2023 08:49
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