课程: Secure Coding in Go

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Solution: Secure input

Solution: Secure input

(upbeat music) - So here's my solution. I've added the validate method to the activity. This validate method would check that the user is not empty, that the end time is before the start time and the description is not empty. In the process activity, I'm going to use a limit reader with a size of 10 kilobytes and decode from this reader, and then use the validate method before I continue to process the activity.

内容