mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-09 16:16:08 -06:00
Add documentation about codegen
This commit is contained in:
@@ -36,6 +36,14 @@ func (nw *nomWriter) Write(w io.Writer, typ typewriter.Type) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
w.Write([]byte(`
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
`))
|
||||
|
||||
if err := tmpl.Execute(w, typ); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self Bool) Equals(other Value) bool {
|
||||
if other, ok := other.(Bool); ok {
|
||||
return self == other
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self Float32) Equals(other Value) bool {
|
||||
if other, ok := other.(Float32); ok {
|
||||
return self == other
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self Float64) Equals(other Value) bool {
|
||||
if other, ok := other.(Float64); ok {
|
||||
return self == other
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self Int16) Equals(other Value) bool {
|
||||
if other, ok := other.(Int16); ok {
|
||||
return self == other
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self Int32) Equals(other Value) bool {
|
||||
if other, ok := other.(Int32); ok {
|
||||
return self == other
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self Int64) Equals(other Value) bool {
|
||||
if other, ok := other.(Int64); ok {
|
||||
return self == other
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
package types
|
||||
|
||||
// The methods for these types are generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen.
|
||||
|
||||
// +gen noms
|
||||
type Bool bool
|
||||
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self UInt16) Equals(other Value) bool {
|
||||
if other, ok := other.(UInt16); ok {
|
||||
return self == other
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self UInt32) Equals(other Value) bool {
|
||||
if other, ok := other.(UInt32); ok {
|
||||
return self == other
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
package types
|
||||
|
||||
// DO NOT EDIT
|
||||
//
|
||||
// This file was generated by a tool.
|
||||
// See http://clipperhouse.github.io/gen for details.
|
||||
|
||||
func (self UInt64) Equals(other Value) bool {
|
||||
if other, ok := other.(UInt64); ok {
|
||||
return self == other
|
||||
|
||||
Reference in New Issue
Block a user