regenerate streams package with no changes to avoid messy diffs
This commit is contained in:
parent
e8a7301360
commit
ffcaafbd9f
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue