Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ It is based on the Go `gofmt` command source code and the go `printer` package,

We have modified the `printer` code in the `pyprint` package to instead print out Python code.

The `-gopy` flag generates [GoPy](https:://github.com/go-python/gopy) specific Python code, including:
The `-gopy` flag generates [GoPy](https://github.com/go-python/gopy) specific Python code, including:

* `nil` -> `go.nil`
* `[]string{...}` -> `go.Slice_string([...])` etc for int, float64, float32

The `-gogi` flag generates [GoGi](https:://github.com/goki/gi) specific Python code, including:
The `-gogi` flag generates [GoGi](https://github.com/goki/gi) specific Python code, including:

* struct tags generate: `self.SetTags()` call, for the `pygiv.ClassViewObj` class, which then provides an automatic GUI view with tag-based formatting of struct fields.

Expand Down