├── .gitattributes ├── .gitignore ├── README.md ├── controller ├── comment.go ├── common.go ├── demo_data.go ├── favorite.go ├── feed.go ├── message.go ├── publish.go ├── relation.go └── user.go ├── go.mod ├── go.sum ├── main.go ├── public ├── bear.mp4 └── data ├── router.go ├── service └── message.go └── test ├── base_api_test.go ├── common.go ├── interact_api_test.go └── social_api_test.go /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/README.md -------------------------------------------------------------------------------- /controller/comment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/comment.go -------------------------------------------------------------------------------- /controller/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/common.go -------------------------------------------------------------------------------- /controller/demo_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/demo_data.go -------------------------------------------------------------------------------- /controller/favorite.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/favorite.go -------------------------------------------------------------------------------- /controller/feed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/feed.go -------------------------------------------------------------------------------- /controller/message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/message.go -------------------------------------------------------------------------------- /controller/publish.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/publish.go -------------------------------------------------------------------------------- /controller/relation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/relation.go -------------------------------------------------------------------------------- /controller/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/controller/user.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/main.go -------------------------------------------------------------------------------- /public/bear.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/public/bear.mp4 -------------------------------------------------------------------------------- /public/data: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/router.go -------------------------------------------------------------------------------- /service/message.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/service/message.go -------------------------------------------------------------------------------- /test/base_api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/test/base_api_test.go -------------------------------------------------------------------------------- /test/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/test/common.go -------------------------------------------------------------------------------- /test/interact_api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/test/interact_api_test.go -------------------------------------------------------------------------------- /test/social_api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaymondCode/simple-demo/HEAD/test/social_api_test.go --------------------------------------------------------------------------------