Skip to content

Commit a0b6c36

Browse files
committed
update Limitations in README.md
1 parent 36bd3b7 commit a0b6c36

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -188,16 +188,10 @@ $ docker run -it -p 8888:8888 -v /path/to/local/notebooks:/path/to/notebooks/in/
188188
gophernotes uses [gomacro](https://github.com/cosmos72/gomacro) under the hood to evaluate Go code interactively. You can evaluate most any Go code with gomacro, but there are some limitation, which are discussed in further detail [here](https://github.com/cosmos72/gomacro#current-status). Most noteably, gophernotes does NOT support:
189189
190190
- third party packages when running natively on Mac and Windows - This is a current limitation of the Go `plugin` package.
191-
- unexported struct fields
192-
- interfaces - They can be declared, but nothing more: there is no way to implement them or call their methods
193-
- extracting methods from types - For example time.Duration.String should return a func(time.Duration) string but currently gives an error. Instead extracting methods from objects is supported: time.Duration(1s).String correctly returns a func() string
194-
- goto
195-
- named return values
196-
- named imports like:
197-
198-
```
199-
import tf "github.com/tensorflow/tensorflow/tensorflow/go"
200-
```
191+
- some corner cases on interpreted interfaces, as interface -> interface type switch and type assertion, are not implemented yet.
192+
- conversion from typed constant to interpreted interface is not implemented. Workaround: assign the constant to a variable, then convert the variable to the interpreted interface type.
193+
- goto is only partially implemented.
194+
- out-of-order code in the same cell is supported, but not heavily tested. It has some known limitations for composite literals.
201195
202196
## Troubleshooting
203197

0 commit comments

Comments
 (0)