regenerate streams package with no changes to avoid messy diffs

This commit is contained in:
Ben Lubar 2019-11-01 13:39:08 -05:00
parent e8a7301360
commit ffcaafbd9f
No known key found for this signature in database
GPG Key ID: 92939677AB59EDA4
2 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -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) {