Skip to content

Commit 04de1e0

Browse files
committed
Update docs
1 parent 580484c commit 04de1e0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/Getting-Started.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,12 @@ func main() {
7474
}
7575
```
7676

77-
You may use existing types. For example, an environment can be a struct. The
78-
struct fields can be renamed by adding struct tags such as `expr:"name"`.
77+
You may use existing types.
78+
79+
For example, an environment can be a struct. And structs methods can be used as
80+
functions. Expr supports embedded structs and methods defines on them too.
81+
82+
The struct fields can be renamed by adding struct tags such as `expr:"name"`.
7983

8084
```go
8185
package main

0 commit comments

Comments
 (0)