From ffcaafbd9ff920f0d9bfe6455ed8aa8ffffb0aca Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Fri, 1 Nov 2019 13:39:08 -0500 Subject: [PATCH] regenerate streams package with no changes to avoid messy diffs --- streams/gen_doc.go | 8 ++++---- streams/gen_json_resolver.go | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/streams/gen_doc.go b/streams/gen_doc.go index ecce63c..40fce72 100644 --- a/streams/gen_doc.go +++ b/streams/gen_doc.go @@ -1,9 +1,9 @@ // Code generated by astool. DO NOT EDIT. -// Package contains constructors and functions necessary for applications to -// serialize, deserialize, and use ActivityStreams types in Go. This package -// is code-generated and subject to the same license as the go-fed tool used -// to generate it. +// Package streams contains constructors and functions necessary for applications +// to serialize, deserialize, and use ActivityStreams types in Go. This +// package is code-generated and subject to the same license as the go-fed +// tool used to generate it. // // This package is useful to three classes of developers: end-user-application // developers, specification writers creating an ActivityStream Extension, and diff --git a/streams/gen_json_resolver.go b/streams/gen_json_resolver.go index 76544c6..0654835 100644 --- a/streams/gen_json_resolver.go +++ b/streams/gen_json_resolver.go @@ -166,7 +166,6 @@ func toAliasMap(i interface{}) (m map[string]string) { switch v := i.(type) { case string: // Single entry, no alias. - if ok, http, https := toHttpHttpsFn(v); ok { m[http] = "" m[https] = "" @@ -175,7 +174,6 @@ func toAliasMap(i interface{}) (m map[string]string) { } case []interface{}: // Recursively apply. - for _, elem := range v { r := toAliasMap(elem) for k, val := range r { @@ -184,7 +182,6 @@ func toAliasMap(i interface{}) (m map[string]string) { } case map[string]interface{}: // Map any aliases. - for k, val := range v { // Only handle string aliases. switch conc := val.(type) {