From df55ce69d344de17283c5c39735e56eede2a5ebe Mon Sep 17 00:00:00 2001 From: Daniel Fireman Date: Mon, 13 Nov 2017 12:05:52 -0300 Subject: [PATCH] Fixing problem with naming examples. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ed9078..00949bb 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ sch, _ := schema.LoadRemote("http://myfoobar/users/schema.json") ## Processing Tabular Data -Once you have the data, you would like to process using language data types. [schema.Uncast](https://godoc.org/github.com/frictionlessdata/tableschema-go/schema#example-Schema-Uncast) and [schema.UncastTable](https://godoc.org/github.com/frictionlessdata/tableschema-go/schema#example-Schema-UncastTable) are your friends on this journey. +Once you have the data, you would like to process using language data types. [schema.CastTable](https://godoc.org/github.com/frictionlessdata/tableschema-go/schema#example-Schema-CastTable) and [schema.CastRow](https://godoc.org/github.com/frictionlessdata/tableschema-go/schema#example-Schema-CastRow) are your friends on this journey. ```go package main @@ -215,7 +215,7 @@ func WriteSummary(summary []summaryEntry, path string) { w.Write([]string{"Date", "AverageAge"}) for _, summ := range summary{ - row, _ := sch.Uncast(summ) + row, _ := sch.UncastRow(summ) w.Write(row) } }