diff --git a/_examples/go.mod b/_examples/go.mod new file mode 100644 index 0000000..352eef6 --- /dev/null +++ b/_examples/go.mod @@ -0,0 +1,5 @@ +module gosrc.io/xmpp/_examples + +go 1.12 + +require gosrc.io/xmpp v0.0.0-20190608091551-b7461ae97fed diff --git a/_examples/go.sum b/_examples/go.sum new file mode 100644 index 0000000..943df1c --- /dev/null +++ b/_examples/go.sum @@ -0,0 +1,11 @@ +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/processone/mpg123 v1.0.0 h1:o2WOyGZRM255or1Zc/LtF/jARn51B+9aQl72Qace0GA= +github.com/processone/mpg123 v1.0.0/go.mod h1:X/FeL+h8vD1bYsG9tIWV3M2c4qNTZOficyvPVBP08go= +github.com/processone/soundcloud v1.0.0 h1:/+i6+Yveb7Y6IFGDSkesYI+HddblzcRTQClazzVHxoE= +github.com/processone/soundcloud v1.0.0/go.mod h1:kDLeWpkRtN3C8kIReQdxoiRi92P9xR6yW6qLOJnNWfY= +golang.org/x/net v0.0.0-20190110200230-915654e7eabc h1:Yx9JGxI1SBhVLFjpAkWMaO1TF+xyqtHLjZpvQboJGiM= +golang.org/x/net v0.0.0-20190110200230-915654e7eabc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522 h1:bhOzK9QyoD0ogCnFro1m2mz41+Ib0oOhfJnBp5MR4K4= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +gosrc.io/xmpp v0.0.0-20190608091551-b7461ae97fed h1:uLrripMKk85UZ0Kd9V2S7qQy2CM4kveMZkCBqBEOqmY= +gosrc.io/xmpp v0.0.0-20190608091551-b7461ae97fed/go.mod h1:it3z4S42Sy7eHWFqwmdFJbygg7lCmbrhKeqK7HQSqSU= diff --git a/cmd/xmpp_component/README.md b/_examples/xmpp_component/README.md similarity index 100% rename from cmd/xmpp_component/README.md rename to _examples/xmpp_component/README.md diff --git a/cmd/xmpp_component/xmpp_component.go b/_examples/xmpp_component/xmpp_component.go similarity index 100% rename from cmd/xmpp_component/xmpp_component.go rename to _examples/xmpp_component/xmpp_component.go diff --git a/cmd/xmpp_echo/xmpp_echo.go b/_examples/xmpp_echo/xmpp_echo.go similarity index 100% rename from cmd/xmpp_echo/xmpp_echo.go rename to _examples/xmpp_echo/xmpp_echo.go diff --git a/cmd/xmpp_jukebox/xmpp_jukebox.go b/_examples/xmpp_jukebox/xmpp_jukebox.go similarity index 100% rename from cmd/xmpp_jukebox/xmpp_jukebox.go rename to _examples/xmpp_jukebox/xmpp_jukebox.go diff --git a/cmd/xmpp_echo/.gitignore b/cmd/xmpp_echo/.gitignore deleted file mode 100644 index 87e579e..0000000 --- a/cmd/xmpp_echo/.gitignore +++ /dev/null @@ -1 +0,0 @@ -xmpp_echo diff --git a/go.mod b/go.mod index e9b9179..5f54ccf 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,5 @@ go 1.9 require ( github.com/google/go-cmp v0.2.0 - github.com/processone/mpg123 v1.0.0 - github.com/processone/soundcloud v1.0.0 golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522 ) diff --git a/go.sum b/go.sum index 8eef58d..233fa3c 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,4 @@ github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/processone/mpg123 v1.0.0 h1:o2WOyGZRM255or1Zc/LtF/jARn51B+9aQl72Qace0GA= -github.com/processone/mpg123 v1.0.0/go.mod h1:X/FeL+h8vD1bYsG9tIWV3M2c4qNTZOficyvPVBP08go= -github.com/processone/soundcloud v1.0.0 h1:/+i6+Yveb7Y6IFGDSkesYI+HddblzcRTQClazzVHxoE= -github.com/processone/soundcloud v1.0.0/go.mod h1:kDLeWpkRtN3C8kIReQdxoiRi92P9xR6yW6qLOJnNWfY= -golang.org/x/net v0.0.0-20190110200230-915654e7eabc h1:Yx9JGxI1SBhVLFjpAkWMaO1TF+xyqtHLjZpvQboJGiM= -golang.org/x/net v0.0.0-20190110200230-915654e7eabc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522 h1:bhOzK9QyoD0ogCnFro1m2mz41+Ib0oOhfJnBp5MR4K4= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=