@@ -142,7 +142,8 @@ func validateValueFunc(values []string) schema.SchemaValidateDiagFunc {
142142}
143143
144144// return the pieces of id `left:right` as left, right.
145- // @deprecated: use parseID2 instead.
145+ //
146+ // Deprecated: use parseID2 instead.
146147func parseTwoPartID (id , left , right string ) (string , string , error ) {
147148 parts := strings .SplitN (id , ":" , 2 )
148149 if len (parts ) != 2 {
@@ -153,12 +154,15 @@ func parseTwoPartID(id, left, right string) (string, string, error) {
153154}
154155
155156// format the strings into an id `a:b`.
157+ //
158+ // Deprecated: use buildID instead.
156159func buildTwoPartID (a , b string ) string {
157160 return fmt .Sprintf ("%s:%s" , a , b )
158161}
159162
160163// return the pieces of id `left:center:right` as left, center, right.
161- // @deprecated: use parseID3 instead.
164+ //
165+ // Deprecated: Use parseID3 instead.
162166func parseThreePartID (id , left , center , right string ) (string , string , string , error ) {
163167 parts := strings .SplitN (id , ":" , 3 )
164168 if len (parts ) != 3 {
@@ -169,6 +173,8 @@ func parseThreePartID(id, left, center, right string) (string, string, string, e
169173}
170174
171175// format the strings into an id `a:b:c`.
176+ //
177+ // Deprecated: use buildID instead.
172178func buildThreePartID (a , b , c string ) string {
173179 return fmt .Sprintf ("%s:%s:%s" , a , b , c )
174180}
0 commit comments