The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
chaleaoch

基于 protobuf 的数据验证算按套路出牌吗?

  •  
  •   chaleaoch · May 18, 2022 · 1312 views
    This topic created in 1464 days ago, the information mentioned may be changed or developed.

    最真实的目的其实是做数据校验, 其实这个东西完全满足我的需求 https://github.com/go-playground/validator

    但是因为没用过 protobuf 我在想如果将 bytes 数据转换成 protobuf 在转回来是否可行?

    “不建议,但是如果非要用也不是不可以,这种算不可行。”

    arkInit
        1
    arkInit  
       May 18, 2022
    protobuf 是一种轻便高效的结构化数据存储格式, 目的是在数据传输时提高效率的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5400 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 03:45 · PVG 11:45 · LAX 20:45 · JFK 23:45
    ♥ Do have faith in what you're doing.