GOLANG_INTERVIEW Telegram 1062
👣 В Go 1.24 появился новый структурный тег omitzero в encoding/json, который позволяет автоматически пропускать поля с нулевыми значениями!

🌟 Вы также можете определить для него свой собственный метод IsZero().

🌟 Это значит, что речь идет не только о типичных «нулевых значениях», вы можете задать свои собственные условия для того, что считается «заслуживающим игнорирования».

@golang_interview
Please open Telegram to view this post
VIEW IN TELEGRAM
👍45🔥123



tgoop.com/golang_interview/1062
Create:
Last Update:

👣 В Go 1.24 появился новый структурный тег omitzero в encoding/json, который позволяет автоматически пропускать поля с нулевыми значениями!

🌟 Вы также можете определить для него свой собственный метод IsZero().

🌟 Это значит, что речь идет не только о типичных «нулевых значениях», вы можете задать свои собственные условия для того, что считается «заслуживающим игнорирования».

@golang_interview

BY Golang вопросы собеседований




Share with your friend now:
tgoop.com/golang_interview/1062

View MORE
Open in Telegram


Telegram News

Date: |

Find your optimal posting schedule and stick to it. The peak posting times include 8 am, 6 pm, and 8 pm on social media. Try to publish serious stuff in the morning and leave less demanding content later in the day. Telegram iOS app: In the “Chats” tab, click the new message icon in the right upper corner. Select “New Channel.” Step-by-step tutorial on desktop: On Tuesday, some local media outlets included Sing Tao Daily cited sources as saying the Hong Kong government was considering restricting access to Telegram. Privacy Commissioner for Personal Data Ada Chung told to the Legislative Council on Monday that government officials, police and lawmakers remain the targets of “doxxing” despite a privacy law amendment last year that criminalised the malicious disclosure of personal information. Healing through screaming therapy
from us


Telegram Golang вопросы собеседований
FROM American