Giter Site home page Giter Site logo

Comments (16)

liu-cn avatar liu-cn commented on August 15, 2024

好的,我已经看到您说的问题了,我现在正准备测试解决一下这个问题,解决后会给您反馈,另外我后面会持续优化和维护,包括后面考虑不影响使用的情况下加入缓存等功能,大幅度提升性能,谢谢您的支持,后面有什么问题和建议都可以给我反馈,我会及时处理

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

您好您方便把那个LocalTime的结构体给我看一下吗?

from json-filter.

lewkamtao avatar lewkamtao commented on August 15, 2024

image

我觉得一个是LocalTIme的问题,另外一个问题应该和LocalTime没关系,当我这样定义一个TestModel的时候他还是不会生效。

from json-filter.

lewkamtao avatar lewkamtao commented on August 15, 2024

image

这是LocalTime的结构体

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

您好,我已经发现您的问题了,是您用法出了问题,需要在匿名结构体json的select前加一个逗号,因为select前面是字段名,如果匿名需要值为空,但是逗号不能省略,如果想把匿名结构体具名也是可以的可以直接在逗号前加字段名就可以,

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

Snipaste_2022-12-04_18-21-14

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

Snipaste_2022-12-04_18-28-12

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

我文档有写到这个,您可以再试试,框架没问题,后面有问题还可以继续给我说,也可以提建议,我会持续优化更新让功能变得更强大

from json-filter.

lewkamtao avatar lewkamtao commented on August 15, 2024

可以了,成功了

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

好的,感谢您的喜欢

from json-filter.

lewkamtao avatar lewkamtao commented on August 15, 2024

我这些warning是因为我使用方式问题吗?还是我应该关闭一些检测?
image

from json-filter.

lewkamtao avatar lewkamtao commented on August 15, 2024

另外,我看到您提供了filter.Time,太棒了!我把之前定义的时间格式去掉,用您提供的这个。

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

您的使用没问题,只不过是vscode的警告罢了,毕竟我的框架比较小众,vscode并不会兼容我的写法,我用的是goland,在goland的上面就不会有warning,这个warning只会影响观感别的不会影响什么,不会影响功能。

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

时间可以用我提供的也可以自己去实现也可以,

from json-filter.

liu-cn avatar liu-cn commented on August 15, 2024

你好,我项目又进行了一波大更新,用法变得更简便了,新增了两个api,老方法依旧兼容,新项目加了缓存提升了40%的性能,https://www.bilibili.com/video/BV1s14y1G72v 这个是b站的视频讲解,你可以把你go项目里go.mod里我的库删了然后再同步下载一下这个库,就可以下载到最新版本的了,或者新创建一个项目体验一下新版本,新用法会更方便且性能更高。

from json-filter.

lewkamtao avatar lewkamtao commented on August 15, 2024

from json-filter.

Related Issues (11)

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.