Git Product home page Git Product logo

douyin's Introduction

生成代码

hz new -idl idl/core.thrift -module github.com/ClubWeGo/douyin

扩展模块

hz new -idl idl/interaction.thrift -module github.com/ClubWeGo/douyin hz new -idl idl/relation.thrift -module github.com/ClubWeGo/douyin

删除代码

rm -r ./biz router.go router_gen.go main.go go.mod go.sum .hz .gitignore

更新代码

hz update -idl idl/core.thrift

拉取依赖

go mod tidy

编译代码

go build

依赖另外几个微服务的代码仓库

(微服务代码更新后,需主动执行来更新代码)

go get github.com/ClubWeGo/videomicro@latest

go get github.com/ClubWeGo/usermicro@latest

go get github.com/ClubWeGo/relationmicro@latest

go get github.com/ClubWeGo/favoritemicro@latest

说明

  1. 当前注册用户时,前端并未提供个人参数配置的能力,也没有提供更新用户信息的能力,所以在core.register_server处写死了初始化的用户背景图像和头像。在配置本项目时,请将对应文件名换成minio中存储的文件名。

douyin's People

Contributors

darley-wey avatar derekwin avatar zxhchime avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.