You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
+
1
6
# dstruct
2
7
A golang package that allows one to create, modify and generate structs dynamically.
3
8
@@ -14,7 +19,7 @@ Features:
14
19
15
20
Limitations:
16
21
* 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 selfreferencing 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.
18
23
* Dynamic structs with struct fields of type `any (interface {})` cannot be created. If you try
19
24
extend or merge structs which have struct fields of type `any` their value must be set to a concrete type.
20
25
@@ -34,7 +39,7 @@ extend or merge structs which have struct fields of type `any` their value must
34
39
## Install
35
40
36
41
```sh
37
-
go get github.com/MartinSimango/dstruct
42
+
go get github.com/MartinSimango/dstruct@v0.3.0-beta
0 commit comments