Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to get all functions #726

Answered by antonmedv
LinuxSuRen asked this question in Q&A
Discussion options

As I mentioned in the title. I would like to provide a feature for users to query the functions that they need.

Thanks for the time to read this. I'm looking forward your comment.

You must be logged in to vote

We can do something like this:

import "github.com/expr-lang/expr/builtin"
builtin.Names // list of all builtins

Replies: 1 comment 2 replies

Comment options

query the functions that they need

I did not get it. You can use something like Expr Editor which has autocomplete for all expr functions:

https://expr-lang.org/docs/expr-editor

You must be logged in to vote
2 replies
Comment options

My backend language is Golang. So, I'm wondering if there is a way to list all functions in Golang.

Comment options

We can do something like this:

import "github.com/expr-lang/expr/builtin"
builtin.Names // list of all builtins
Answer selected by LinuxSuRen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /