Skip to content

Commit ec7378e

Browse files
Update README.md
1 parent 9652836 commit ec7378e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
> :warning: **Notice**
2+
> * Please do not install any of these versions: v1.1.1 v1.1.0 v1.0.0 v0.1.2 v0.1.1 as these were removed from the repo - (but are still available at pkg.go.dev).
3+
> * When installing please explicitly install the actual latest version of dstruct which is currently v0.3.0-beta.
4+
5+
16
# dstruct
27
A golang package that allows one to create, modify and generate structs dynamically.
38

@@ -14,7 +19,7 @@ Features:
1419

1520
Limitations:
1621
* You cannot extend structs with unexported embedded fields.
17-
* If a struct pointer cannot be fully dereferenced then the struct's subfields won't be added to the dynamic struct. This is done mainly to avoid self referencing structs as these will create infinite node trees.
22+
* If a struct pointer cannot be fully dereferenced then the struct's subfields won't be added to the dynamic struct. This is done mainly to avoid self-referencing structs as these will create infinite node trees.
1823
* Dynamic structs with struct fields of type `any (interface {})` cannot be created. If you try
1924
extend or merge structs which have struct fields of type `any` their value must be set to a concrete type.
2025

@@ -34,7 +39,7 @@ extend or merge structs which have struct fields of type `any` their value must
3439
## Install
3540

3641
```sh
37-
go get github.com/MartinSimango/dstruct
42+
go get github.com/MartinSimango/dstruct@v0.3.0-beta
3843
```
3944

4045
## How it works?

0 commit comments

Comments
 (0)