Skip to content

Commit

Permalink
typegen bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Dec 30, 2024
1 parent 3a09324 commit 461c6d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/random/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Package random plots histograms of random distributions.
package main

//go:generate core generate -add-types
//go:generate core generate

import (
"cogentcore.org/core/base/metadata"
Expand All @@ -25,7 +25,7 @@ import (
)

// Random is the random distribution plotter widget.
type Random struct { //types:add
type Random struct {
core.Frame
Data
}
Expand Down
9 changes: 7 additions & 2 deletions examples/random/typegen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 461c6d9

Please sign in to comment.