Git Product home page Git Product logo

Comments (2)

iyear avatar iyear commented on June 3, 2024

这是你自己的结构体出问题了吧

from biligo-live.

eric2788 avatar eric2788 commented on June 3, 2024

直播间room_id超过int16的范围就会报错

2021/12/26 17:20:38 房間 3415150 無效,已略過 
2021/12/26 17:20:38 Resolving Error: *json.UnmarshalTypeError
2021/12/26 17:20:38 json: cannot unmarshal number 88615 into Go struct field RoomInfoData.data.short_id of type int16
[GIN] 2021/12/26 - 17:20:38 | 500 |   40.804101ms |       127.0.0.1 | PUT      "/subscribe/add"
Error #01: json: cannot unmarshal number 88615 into Go struct field RoomInfoData.data.short_id of type int16

你应该是issue发错地方了,那个问题早修了: eric2788/biligo-live-ws@293bc0e

@iyear 可以关了

from biligo-live.

Related Issues (2)

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.