regenerate streams package with no changes to avoid messy diffs
このコミットが含まれているのは:
コミット
ffcaafbd9f
|
@ -1,9 +1,9 @@
|
||||||
// Code generated by astool. DO NOT EDIT.
|
// Code generated by astool. DO NOT EDIT.
|
||||||
|
|
||||||
// Package contains constructors and functions necessary for applications to
|
// Package streams contains constructors and functions necessary for applications
|
||||||
// serialize, deserialize, and use ActivityStreams types in Go. This package
|
// to serialize, deserialize, and use ActivityStreams types in Go. This
|
||||||
// is code-generated and subject to the same license as the go-fed tool used
|
// package is code-generated and subject to the same license as the go-fed
|
||||||
// to generate it.
|
// tool used to generate it.
|
||||||
//
|
//
|
||||||
// This package is useful to three classes of developers: end-user-application
|
// This package is useful to three classes of developers: end-user-application
|
||||||
// developers, specification writers creating an ActivityStream Extension, and
|
// developers, specification writers creating an ActivityStream Extension, and
|
||||||
|
|
|
@ -166,7 +166,6 @@ func toAliasMap(i interface{}) (m map[string]string) {
|
||||||
switch v := i.(type) {
|
switch v := i.(type) {
|
||||||
case string:
|
case string:
|
||||||
// Single entry, no alias.
|
// Single entry, no alias.
|
||||||
|
|
||||||
if ok, http, https := toHttpHttpsFn(v); ok {
|
if ok, http, https := toHttpHttpsFn(v); ok {
|
||||||
m[http] = ""
|
m[http] = ""
|
||||||
m[https] = ""
|
m[https] = ""
|
||||||
|
@ -175,7 +174,6 @@ func toAliasMap(i interface{}) (m map[string]string) {
|
||||||
}
|
}
|
||||||
case []interface{}:
|
case []interface{}:
|
||||||
// Recursively apply.
|
// Recursively apply.
|
||||||
|
|
||||||
for _, elem := range v {
|
for _, elem := range v {
|
||||||
r := toAliasMap(elem)
|
r := toAliasMap(elem)
|
||||||
for k, val := range r {
|
for k, val := range r {
|
||||||
|
@ -184,7 +182,6 @@ func toAliasMap(i interface{}) (m map[string]string) {
|
||||||
}
|
}
|
||||||
case map[string]interface{}:
|
case map[string]interface{}:
|
||||||
// Map any aliases.
|
// Map any aliases.
|
||||||
|
|
||||||
for k, val := range v {
|
for k, val := range v {
|
||||||
// Only handle string aliases.
|
// Only handle string aliases.
|
||||||
switch conc := val.(type) {
|
switch conc := val.(type) {
|
||||||
|
|
読み込み中…
新しいイシューから参照